summaryrefslogtreecommitdiff
path: root/export-noobs/prerun.sh
AgeCommit message (Collapse)Author
2024-02-23Remove QCOW2 build mechanism (#648)Mark Spatz
2024-01-04Ensure loop device partition nodes are created (#741)Vasilis Tsiligiannis
Although the loop block device is created before attaching the image to it, the devices for the partition that the image contains are still not created. This patch creates those devices as well, when they are not already available. Fixes #482 Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2023-08-17Adds call to mknod if loop dev does not exist after call to `losetup -f` (#483)bamartin125
2022-11-11use a single partitioned loop device (#641)rfc6919
2022-03-01Addition of a `DEPLOY_COMPRESSION` option to the configuration (#592)Romain Bazile
2021-09-21Remove IMG_DATE from work directoriesSerge Schneider
2021-02-10Add QCOW2 build mechanism (#349)Holger Pandel
2020-12-02os.json: Update kernel version automaticallySerge Schneider
2020-09-23workaround build failure on AWS M6g instances (#449)kdoren
2019-03-18Switch to using parted's machine parseable output (#270)Andrew Scheller
2019-03-11Replace pxz with xz -T0Serge Schneider
2019-01-22IMG_SUFFIX evaluation in export image (fix #241)Błażej Sowa
2018-12-21Allow custom image filenameBłażej Sowa
2018-03-13shellcheckSerge Schneider
2017-08-22NOOBS: bsdtar with --numeric-ownerSerge Schneider
2017-07-28export-noobs: enable NOOBS config script here instead of stage2Serge Schneider
2017-01-23Added Docker support (#40)Claus F. Strasburger
* Added Docker support - replaced necessity for devicemapper (through kpartx) by using parted and losetup with offsets - added Dockerfile - added dependency for parted and grep - added hints to README.md - common: loop through unmounts, fix shellcheck warnings * stage2: use debconf instead of console-setup patch. Fixes #41
2016-11-29export-noobs: umount boot before archiving rootSerge Schneider
bsdtar does not add directories which are mountpoints. This removes /boot from the archive and prevents init_resize.sh from working.
2016-11-22export-noobs: use gnutar format for bsdtarSerge Schneider
2016-11-21export-noobs: use bsdtarSerge Schneider
2016-10-06Fix umount_image (#22)Joseph Carter
* export-noobs/prerun.sh: Use nested mountpoint While it seems elegant and intuitive to use separate bootfs and rootfs mountpoints for compressing the partitions, doing so violates a precondition of unmount_image that they be mounted as a tree. This causes the image to not be properly unmounted and detached. A better solution might be to pack up the previous stage's chroot directory, but that rework can wait for the time being. scripts/common.sh: Output device name correctly A misplaced ) in unmount_image caused the loop device to be incorrectly identified, resulting in a fair bit of chaos trying to unmount other filesystems on /dev/mapper devices. Such as / on a LUKS-encrypted installation, for example. The unmount will fail as it should and build.sh will abort the build without any cleanup. Best to avoid that. These changes close RPi-Distro/pi-gen#19
2016-05-27export-noobs: ensure STAGE_WORK_DIR existsSerge Schneider
2016-05-27Add noobs export stageSerge Schneider