summaryrefslogtreecommitdiff
path: root/export-noobs
diff options
context:
space:
mode:
authorMark Spatz <mark.h.spatz@gmail.com>2024-02-22 23:19:10 -0500
committerGitHub <noreply@github.com>2024-02-23 04:19:10 +0000
commit502e5fa0e3e1342ac7eedaea964b40ec55d7adb4 (patch)
tree710faee3763268a30620ef58bb647d9af020c6fb /export-noobs
parent69037ce9fe9abe51cc6510971b3fb307745b1ef9 (diff)
Remove QCOW2 build mechanism (#648)
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}"