@@ -1,9 +1,4 @@ | |||||
--- | --- | ||||
- name: Umount pseudo filesystems | - name: Umount pseudo filesystems | ||||
connection: local | connection: local | ||||
shell: umount '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}{{ item }}' | |||||
with_items: | |||||
- /proc | |||||
- /dev/pts | |||||
- /dev | |||||
- /sys | |||||
shell: umount --recursive '{{ lookup('env', 'ANSIBLE_ROOTFS_DIR') }}' |
@@ -3,7 +3,7 @@ | |||||
set -e | set -e | ||||
printf "Copying base rootfs... " | printf "Copying base rootfs... " | ||||
cp -rp $HEADLESS_DIR/. $DESKTOP_DIR/ | |||||
cp -rax $HEADLESS_DIR/. $DESKTOP_DIR/ | |||||
printf "(OK)\n" | printf "(OK)\n" | ||||
echo "Run desktop installation tasks..." | echo "Run desktop installation tasks..." | ||||
@@ -51,7 +51,7 @@ mount $ROOT_UUID $GRUB_DIR | |||||
printf "(OK)\n" | printf "(OK)\n" | ||||
printf "Copying filesystem to image... " | printf "Copying filesystem to image... " | ||||
cp -rp $INPUT_DIR/. $GRUB_DIR/ | |||||
cp -rax $INPUT_DIR/. $GRUB_DIR/ | |||||
printf "(OK)\n" | printf "(OK)\n" | ||||
printf "Mounting efi filesystem... " | printf "Mounting efi filesystem... " | ||||
@@ -3,7 +3,7 @@ | |||||
set -e | set -e | ||||
printf "Copying base rootfs... " | printf "Copying base rootfs... " | ||||
cp -rp $BASE_DIR/. $HEADLESS_DIR/ | |||||
cp -rax $BASE_DIR/. $HEADLESS_DIR/ | |||||
printf "(OK)\n" | printf "(OK)\n" | ||||
echo "Run headless installation tasks..." | echo "Run headless installation tasks..." | ||||
@@ -30,7 +30,7 @@ echo "Downloading Tegra assets... (OK)" | |||||
printf "Copying rootfs assets... " | printf "Copying rootfs assets... " | ||||
rm -fr $TEGRA_DIR/Linux_for_Tegra/rootfs/* | rm -fr $TEGRA_DIR/Linux_for_Tegra/rootfs/* | ||||
cp -rp $INPUT_DIR/. $TEGRA_DIR/Linux_for_Tegra/rootfs/ | |||||
cp -rax $INPUT_DIR/. $TEGRA_DIR/Linux_for_Tegra/rootfs/ | |||||
printf "(OK)\n" | printf "(OK)\n" | ||||
printf "Ameliorate Tegra installer... " | printf "Ameliorate Tegra installer... " | ||||