mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
mount /boot
This commit is contained in:
parent
d3bbc22d54
commit
8e4e37360f
@ -27,6 +27,7 @@ veritysetup \
|
|||||||
--data-blocks $[$size*1024*1024/4096] \
|
--data-blocks $[$size*1024*1024/4096] \
|
||||||
format hdd.img hdd.img \
|
format hdd.img hdd.img \
|
||||||
| ./verity-sign /dev/sda1 \
|
| ./verity-sign /dev/sda1 \
|
||||||
|
| gpg --clearsign \
|
||||||
| tee hdd.table
|
| tee hdd.table
|
||||||
|
|
||||||
|
|
||||||
@ -98,5 +99,6 @@ my $table = sprintf "0 %d verity %d %s %s %d %d %d %d %s %s %s",
|
|||||||
|
|
||||||
print "dmsetup create --readonly boot --table '$table'\n";
|
print "dmsetup create --readonly boot --table '$table'\n";
|
||||||
print "dmsetup mknodes boot\n";
|
print "dmsetup mknodes boot\n";
|
||||||
|
print "mount -o ro /dev/mapper/boot /boot\n";
|
||||||
|
|
||||||
__END__
|
__END__
|
||||||
|
Loading…
Reference in New Issue
Block a user