aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary filesSerge Schneider2018-03-132-0/+0
|
* Corrected various typos (#91)TJ Rana2017-07-271-2/+2
| | | | | | | | | | * Rename License.md to LICENSE * Correct typos * Clean up code layout Organize layout with extra lines
* bootstrap: cope with NFS and FUSE filesystemsSerge Schneider2017-06-201-1/+1
|
* stage0: Verify Releases during bootstrapSerge Schneider2017-05-101-2/+2
| | | | Fixes #5
* Clean up clean upSerge Schneider2017-04-031-1/+1
|
* Added Docker support (#40)Claus F. Strasburger2017-01-231-28/+35
| | | | | | | | | | | | | * 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
* Use capsh to ensure file capabilities aren't setSerge Schneider2016-11-141-3/+3
|
* rsync single file system (#25)chz^32016-10-091-1/+1
| | | | If proc is mounted in rootfs (e.g., via chroot), rsync will try copying kcore when permitted to cross file system boundaries.
* Fix umount_image (#22)Joseph Carter2016-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | * 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
* dependencies_check: add missing bracket (closes issue #17).Serge Schneider2016-09-151-1/+1
|
* Dependency checks + important bugfix (#16)Joseph Carter2016-09-141-0/+30
|
* build.sh: Support comments in package files (#14)Joseph Carter2016-09-081-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * build.sh: Support comments in package files This patch allows the use of hash comments inside patch files. It's a little ugly, but it strips comments and collapses all whitespace down to single space characters between package names. It handles comments anywhere in a line, as well. Was unsure if \ continuation of the long sed line or the inclusion of a couple of lines of comments explaining what the sed expressions are doing would be appreciated, so didn't include them in this patch. * build.sh: whitespace fix * build.sh: Use sed script for packages files Broke the sed expressions out of build.sh and put them their own documented sed script. This greatly improves readability and avoids build.sh getting messier. Broke the substitution command into two separate subs. The first just deletes comments, and the second collapses all whitespace into a single space. This too is easier to read, and catches a couple of edge cases that would result it not all whitespace being collapsed. The result may still have (one) leading and/or trailing space, which is acceptable.
* Add NOOBS export supportSerge Schneider2016-05-271-7/+10
|
* common: Fix issue dateSerge Schneider2016-05-051-1/+1
|
* Various fixesSerge Schneider2016-05-041-2/+22
|
* Add missing /dev/ptsTeguh Sobirin2016-04-271-0/+4
| | | | Missing /dev/pts causing "Can not write log, openpty() failed (/dev/pts not mounted?)"
* Initial build scriptSerge Schneider2016-04-111-0/+64
|
* Setup initial layoutSerge Schneider2016-04-083-0/+0