mount /boot

This commit is contained in:
Trammell Hudson 2016-08-07 13:49:30 -04:00
parent d3bbc22d54
commit 8e4e37360f
Failed to extract signature

View File

@ -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__