Add a text file to the sysroot for testing ext2
This commit is contained in:
parent
db5c9ab859
commit
ef1b5ab9a4
|
@ -18,6 +18,8 @@ echo "Loopback device: ${dev}"
|
|||
cleanup() {
|
||||
umount efi
|
||||
rm -rf efi
|
||||
umount sysroot
|
||||
rm -rf sysroot
|
||||
losetup -d $dev
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
@ -41,4 +43,9 @@ cp sys/yellowstone/yellowstone efi/sys/yellowstone
|
|||
cp sys/denali/denali efi/sys/denali
|
||||
cp sys/victoriafalls/victoriafalls efi/sys/victoriafalls
|
||||
|
||||
mkdir -p sysroot
|
||||
mount "${dev}p2" sysroot/
|
||||
rsync -a ../sysroot .
|
||||
ls sysroot/
|
||||
|
||||
chown drew:drew $1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
A
|
Loading…
Reference in New Issue