diff --git a/.github/push-iso b/.github/push-iso index f11c82a..9a03714 100644 --- a/.github/push-iso +++ b/.github/push-iso @@ -1 +1 @@ -9 \ No newline at end of file +10 \ No newline at end of file diff --git a/build.sh b/build.sh index 7901f9b..7b77143 100755 --- a/build.sh +++ b/build.sh @@ -12,10 +12,10 @@ fi # Mount -sudo mount --bind /dev "$ROOTFS_PATH/dev" -sudo mount -t tmpfs run "$ROOTFS_PATH/run" -o mode=0755,nosuid,nodev -sudo mount -t proc proc "$ROOTFS_PATH/proc" -o nosuid,nodev,noexec -sudo mount -t sysfs sys "$ROOTFS_PATH/sys" -o nosuid,nodev,noexec,ro +mount --bind /dev "$ROOTFS_PATH/dev" +mount -t tmpfs run "$ROOTFS_PATH/run" -o mode=0755,nosuid,nodev +mount -t proc proc "$ROOTFS_PATH/proc" -o nosuid,nodev,noexec +mount -t sysfs sys "$ROOTFS_PATH/sys" -o nosuid,nodev,noexec,ro # Setup Chroot scripts @@ -33,14 +33,14 @@ rm -rfv "$ROOTFS_PATH/chroot_scripts" # Unmount -umount "$ROOTFS_PATH/dev" || sudo umount -lf "$ROOTFS_PATH/dev" || true -umount "$ROOTFS_PATH/run" || sudo umount -lf "$ROOTFS_PATH/run" || true -umount "$ROOTFS_PATH/proc" || sudo umount -lf "$ROOTFS_PATH/proc" || true -umount "$ROOTFS_PATH/sys" || sudo umount -lf "$ROOTFS_PATH/sys" || true +umount "$ROOTFS_PATH/dev" || umount -lf "$ROOTFS_PATH/dev" || true +umount "$ROOTFS_PATH/run" || umount -lf "$ROOTFS_PATH/run" || true +umount "$ROOTFS_PATH/proc" || umount -lf "$ROOTFS_PATH/proc" || true +umount "$ROOTFS_PATH/sys" || umount -lf "$ROOTFS_PATH/sys" || true # Generate Squashfs image -sudo mksquashfs \ +mksquashfs \ "$ROOTFS_PATH" \ "$LIVE_BOOT_PATH/live/filesystem.squashfs" \ -e boot