Bruno Bronosky
db72137465
Avoid rsync options -o & -g on vfat
...
My custom build stage was dropping a 2 text files on /boot and that
was causing rsync to fail on my stage when it didn't fail on stage2.
Before making this change I was getting this error:
+ mkdosfs -n boot -F 32 -v /dev/loop0
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
+ mkfs.ext4 -O '^huge_file' /dev/loop1
mke2fs 1.42.13 (17-May-2015)
+ mount -v /dev/loop1 /home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs -t ext4
mount: /dev/loop1 mounted on /home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs.
+ mkdir -p /home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs/boot
+ mount -v /dev/loop0 /home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs/boot -t vfat
mount: /dev/loop0 mounted on /home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs/boot.
+ rsync -aHAXx --exclude var/cache/apt/archives /home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/stage4/rootfs/ /home/ubuntu/ies_rpi/pi-gen/work/201
7-10-04-Raspbian/export-image/rootfs/
rsync: chown "/home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs/boot/.meta-data.57XaxF" failed: Operation not permitted (1)
rsync: chown "/home/ubuntu/ies_rpi/pi-gen/work/2017-10-04-Raspbian/export-image/rootfs/boot/.user-data.9Icrdz" failed: Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
2017-10-04 15:34:46 -04:00
Rick
9f2941954f
Add caution about WORK_DIR filesystem
2017-09-28 13:40:58 +01:00
Claus Strasburger
52c6748e67
fix docker-in-docker copying when not doing CONTINUE=1
2017-09-21 15:06:11 +01:00
Claus Strasburger
732a87415d
Docker-Build enhancements
...
- don't use any volume mounts anymore to allow using docker-in-docker
(with docker.sock mounted)
- smaller Docker build context by ignoring some files
2017-09-21 12:53:01 +01:00
Serge Schneider
9aa87dbfb4
Fix font packages
2017-09-21 12:45:05 +01:00
Jacen
26fcf59f3f
[adding] qemu emulation layout to test images with qemu
2017-09-14 10:12:30 +01:00
Serge Schneider
496e41575e
Revert "stage2: install fdisk"
...
This reverts commit e7e04fcde3
.
2017-09-05 14:34:19 +01:00
Serge Schneider
e7e04fcde3
stage2: install fdisk
2017-09-05 14:29:33 +01:00
Serge Schneider
5024709d70
Update release notes
2017-09-05 12:36:58 +01:00
Jacen
727db0ed63
[fixing] docker parts
2017-09-04 16:43:25 +01:00
Serge Schneider
e64ea5bce4
stage3: install fonts-droid-fallback
2017-09-04 14:06:23 +01:00
Serge Schneider
63c312d1fe
Update release notes
2017-09-04 12:17:49 +01:00
Serge Schneider
2f032b1d19
Update README.md
...
Fixes #105
2017-09-04 09:39:04 +01:00
Serge Schneider
05b31b287d
Dockerfile: set DEBIAN_FRONTEND noninteractive
2017-08-31 11:27:33 +01:00
Serge Schneider
b8c94731c5
stage1: fix symlink creation
...
Fixes #100
2017-08-31 11:24:01 +01:00
James Ruan
c0513c547a
export-image: when work in a non-English locale environment the PARTUUID will silently fail, resulting to an unbootable image file. ( #96 )
...
* use dd and xxd to get disk identifier
* add xxd as dependency
2017-08-31 11:22:33 +01:00
Serge Schneider
dc0fb57fb9
stage2: install net-tools explicitly
2017-08-24 16:31:15 +01:00
Serge Schneider
fcb8cca6ce
NOOBS: bsdtar with --numeric-owner
2017-08-22 13:03:21 +01:00
Serge Schneider
ce46fac1d4
Disable predictable network interface names
2017-08-21 10:15:50 +01:00
Russ K
3cc13f2aa2
Check for curl as a dependency for export-image ( #95 )
...
* Check for curl as a dependency for export-image
* Add curl to the Dockerfile
2017-08-21 09:48:55 +01:00
Serge Schneider
4dc1e1670e
Update release notes
2017-08-17 14:46:35 +01:00
Serge Schneider
aaaf0aea13
Update release notes
2017-08-14 15:33:06 +01:00
Serge Schneider
c2db8285a1
Disable 64bit filesystem feature
2017-08-11 17:39:58 +01:00
Serge Schneider
3fe8d79947
Remove pulseaudio
2017-07-28 13:35:46 +01:00
Serge Schneider
8d40bc1bb4
stage3: Add gldriver-test
2017-07-28 13:35:46 +01:00
Serge Schneider
178b1e404b
Remove NTP in favour of systemd-timesyncd
2017-07-28 13:35:46 +01:00
Serge Schneider
f2060a8ee2
export-noobs: enable NOOBS config script here instead of stage2
2017-07-28 13:35:46 +01:00
Serge Schneider
7149e20f2d
export-image: generate .info file
2017-07-28 13:35:46 +01:00
Serge Schneider
207003b5ed
stage2: Move ssh host key regen and NOOBS config scripts to raspberrypi-sys-mods
2017-07-28 13:35:46 +01:00
Serge Schneider
c77669ad9f
stage2: firmware-ralink renamed to firmware-misc-nonfree
2017-07-28 13:35:46 +01:00
Serge Schneider
6618df4b08
stage2: update wait.conf
2017-07-28 13:35:46 +01:00
Serge Schneider
0f5f10d925
stage4: install liberation2 font
2017-07-28 13:35:46 +01:00
Serge Schneider
19fc4a367e
stage2: Add htop
2017-07-28 13:35:46 +01:00
Serge Schneider
036e5242b3
stage2: Add libmtp-runtime and rsync
2017-07-28 13:35:46 +01:00
Serge Schneider
8f361a1c38
Switch to Stretch
2017-07-28 13:35:46 +01:00
Serge Schneider
68cdf34cb4
Add xz-utils dependency
...
Closes #90
2017-07-28 13:22:03 +01:00
TJ Rana
3441133d1c
Corrected various typos ( #91 )
...
* Rename License.md to LICENSE
* Correct typos
* Clean up code layout
Organize layout with extra lines
2017-07-27 12:11:07 +02:00
Claus Strasburger
fe45b73987
Added docker-compose.yml for easy apt-cacher-ng startup
2017-07-17 12:21:37 +02:00
Claus Strasburger
bab0fe3b0d
Docker build: move to debian stretch
2017-07-17 12:21:28 +02:00
Russ Kubes
4d65b2b357
Export-image: Only disable metadata_csum feature if it's possibly enabled.
2017-07-17 11:36:43 +02:00
Serge Schneider
137efd2379
Update release notes
2017-07-10 14:29:11 +01:00
Serge Schneider
dd7de2554c
Update release notes
2017-07-05 11:23:54 +01:00
Serge Schneider
234c4b7937
Export-image: disable metadata_csum for compatibility with older SD card copiers
2017-07-03 16:40:23 +01:00
Serge Schneider
be2018ee5f
README: Add stage 5 description
2017-06-27 13:16:41 +01:00
Andrew Smith
cdf1cf2aba
Also use -v in error message
2017-06-27 13:10:09 +01:00
Andrew Smith
22c4105b57
Tell docker to delete the volume as well
...
Addresses #62
Because of the use of volumes the .img files (and everything else) will stay around on disk even when you do `docker rm pigen_work`. Passing `-v` deletes the volume as well and frees up disk space.
2017-06-27 13:10:09 +01:00
Jacob Siverskog
d2f88a6e4f
Update stage specification example
...
The previous example failed for me due to a missing SKIP in
stage5. While at it, complete the example with all steps needed to get
an image generated.
2017-06-27 13:09:40 +01:00
Thomas Phillips
c92638438a
Fixed running docker script from within pwd containing spaces
2017-06-27 13:08:08 +01:00
Thomas Phillips
50e5c01f57
Image build date now honours timezone
2017-06-27 13:06:50 +01:00
Serge Schneider
a0060bd475
export-image: increase free space padding
2017-06-21 10:56:07 +01:00