summaryrefslogtreecommitdiff
path: root/scripts/common
AgeCommit message (Collapse)Author
2019-10-30Ensure debootstrap runs through 'sh' rather than 'bash'Serge Schneider
This fixes #338 and fixes #294
2019-08-11Moved git-hash determination to passed in build variable (#273)Kevin Stone
2019-06-07script/common: Handle aarch64 host buildsSerge Schneider
2019-02-18Make sure unmount_image finds stale loop devicesSam Tygier
Fixes #257 #104 #193 Instead of searching by full path, which is prone to fail, read full list and grep on filename.
2019-02-18Improve update_issue() function in common scriptHugo Hromic
* Allow to customise pi-gen script name and repository in the generated issue file * Preserve compatibility with existing function calls
2019-02-18Improve bootstrap() function in common scriptHugo Hromic
* Tidy up and simplify function code * Allow to pass extra arguments to debootstrap, e.g. `--variant minbase` * Preserve compatibility with existing function calls
2018-11-08scripts: do not ignore errors inside on_chroot callsTomas Cerskus
2018-10-15Check /debootstrap exists before trying to removeSerge Schneider
2018-10-11Remove /debootstrapSerge Schneider
2018-03-13shellcheckSerge Schneider
2017-06-20bootstrap: cope with NFS and FUSE filesystemsSerge Schneider
2017-05-10stage0: Verify Releases during bootstrapSerge Schneider
Fixes #5
2017-04-03Clean up clean upSerge 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-14Use capsh to ensure file capabilities aren't setSerge Schneider
2016-10-09rsync single file system (#25)chz^3
If proc is mounted in rootfs (e.g., via chroot), rsync will try copying kcore when permitted to cross file system boundaries.
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-27Add NOOBS export supportSerge Schneider
2016-05-05common: Fix issue dateSerge Schneider
2016-05-04Various fixesSerge Schneider
2016-04-27Add missing /dev/ptsTeguh Sobirin
Missing /dev/pts causing "Can not write log, openpty() failed (/dev/pts not mounted?)"
2016-04-11Initial build scriptSerge Schneider
2016-04-08Setup initial layoutSerge Schneider