diff --git a/scripts/build_image.sh b/scripts/build_image.sh index 494b799..e26074f 100644 --- a/scripts/build_image.sh +++ b/scripts/build_image.sh @@ -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 diff --git a/sysroot/text.txt b/sysroot/text.txt new file mode 100644 index 0000000..f70f10e --- /dev/null +++ b/sysroot/text.txt @@ -0,0 +1 @@ +A