summaryrefslogtreecommitdiff
path: root/export-noobs
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2024-02-26 14:15:02 +0000
committerSerge Schneider <serge@raspberrypi.com>2024-02-26 14:15:02 +0000
commitb4f2aeabde2406d8c04355e7cddb0439217d492e (patch)
tree67a1d4688eb0afc49e669e075b87ab660529026b /export-noobs
parent57149546cf26dbe0db9430a2938b16d579f1ba98 (diff)
parent82e5642ad16453f47fbbaeb11f8b63d4ccf17d81 (diff)
Merge branch 'master' into arm64
Diffstat (limited to 'export-noobs')
-rwxr-xr-xexport-noobs/00-release/00-run.sh6
-rwxr-xr-xexport-noobs/prerun.sh4
2 files changed, 1 insertions, 9 deletions
diff --git a/export-noobs/00-release/00-run.sh b/export-noobs/00-release/00-run.sh
index bfaea9f..513cbfd 100755
--- a/export-noobs/00-release/00-run.sh
+++ b/export-noobs/00-release/00-run.sh
@@ -41,8 +41,4 @@ sed "${NOOBS_DIR}/os.json" -i -e "s|KERNEL|$(cat "${STAGE_WORK_DIR}/kernel_versi
sed "${NOOBS_DIR}/release_notes.txt" -i -e "s|UNRELEASED|${IMG_DATE}|"
-if [ "${USE_QCOW2}" = "1" ]; then
- mv "${NOOBS_DIR}" "${DEPLOY_DIR}/"
-else
- cp -a "${NOOBS_DIR}" "${DEPLOY_DIR}/"
-fi
+cp -a "${NOOBS_DIR}" "${DEPLOY_DIR}/"
diff --git a/export-noobs/prerun.sh b/export-noobs/prerun.sh
index 80cbb8e..8e55c9e 100755
--- a/export-noobs/prerun.sh
+++ b/export-noobs/prerun.sh
@@ -41,8 +41,4 @@ bsdtar --numeric-owner --format gnutar -C "${STAGE_WORK_DIR}/rootfs/boot" -cpf -
umount "${STAGE_WORK_DIR}/rootfs/boot"
bsdtar --numeric-owner --format gnutar -C "${STAGE_WORK_DIR}/rootfs" --one-file-system -cpf - . | xz -T0 > "${NOOBS_DIR}/root.tar.xz"
-if [ "${USE_QCOW2}" = "1" ]; then
- rm "$ROOTFS_DIR/etc/systemd/system/multi-user.target.wants/apply_noobs_os_config.service"
-fi
-
unmount_image "${IMG_FILE}"