diff options
| author | Mark Spatz <mark.h.spatz@gmail.com> | 2024-02-22 23:19:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-23 04:19:10 +0000 |
| commit | 502e5fa0e3e1342ac7eedaea964b40ec55d7adb4 (patch) | |
| tree | 710faee3763268a30620ef58bb647d9af020c6fb /export-noobs | |
| parent | 69037ce9fe9abe51cc6510971b3fb307745b1ef9 (diff) | |
Remove QCOW2 build mechanism (#648)
Diffstat (limited to 'export-noobs')
| -rwxr-xr-x | export-noobs/00-release/00-run.sh | 6 | ||||
| -rwxr-xr-x | export-noobs/prerun.sh | 4 |
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}" |
