mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
16 lines
667 B
Plaintext
16 lines
667 B
Plaintext
mount /dev/sda1 /boot
|
|
mount -o remount,rw /boot
|
|
rm /boot/kexec_*
|
|
usb-scan
|
|
mount -o rw $CONFIG_USB_BOOT_DEV /media
|
|
mkdir /media/gpg_keys
|
|
gpg --home=/media/gpg_keys --edit-card
|
|
gpg --home=/media/gpg_keys --export --armor e@mail.address > /media/gpg_keys/public.key
|
|
gpg --home=/media/gpg_keys --export-secret-keys --armor e@mail.address > /media/gpg_keys/private.key
|
|
cbfs -o /media/coreboot.rom -a "heads/initrd/.gnupg/keys/public.key" -f /media/gpg_keys/public.key
|
|
cbfs -o /media/coreboot.rom -a "heads/initrd/.gnupg/keys/private.key" -f /media/gpg_keys/private.key
|
|
flashrom-x230.sh /media/coreboot.com
|
|
umount /media
|
|
cbmem --console | grep '^ME'
|
|
cbmem --console | less
|