Commit Graph

23 Commits

Author SHA1 Message Date
Gunnar Wolf adc0865af8 Adding debian-security and (commented) backports repositories to sources.list 2019-10-02 12:11:43 -05:00
Gunnar Wolf ad7a56130e Replace "set-sysconf" for a more descriptive "rpi-set-sysconf" 2019-07-19 12:46:52 -03:00
Gunnar Wolf 2075ce2a4a Install and enable set-sysconf 2019-07-19 12:14:51 -03:00
Gunnar Wolf c9e493a243 Fix minor typos 2019-07-19 10:05:43 -03:00
Gunnar Wolf 4c057e3ab7 Merge branch 'master' into paswordless 2019-07-19 09:53:50 -03:00
Gunnar Wolf 87f57b446f Fix remaining references to rpi3 (instead of rpi) 2019-07-19 09:50:16 -03:00
Gunnar Wolf 478a8253cf Build the images with an empty root password, disallowing remote root logins 2019-07-18 22:20:28 -03:00
Gunnar Wolf cc0780ee69 Change references from rpi3-* to rpi-* 2019-07-18 21:18:59 -03:00
Lars Wirzenius fe68770d3e Change: use mount point names for all tags
/ and /boot specifically. I find these names to be clearer.
2019-01-13 15:48:00 +02:00
Lars Wirzenius 5e2dc9c569 Add: support for caching and unpacking the rootfs
This speeds up iterative development of a vmdb specification file: the
output of qemu-debootstrap and the apt installation additinal packages
are cached. They take up most of the time of a full run. If modifying
other parts of raspi3.yaml, this means an iteration drops from about
20 minutes to 16 seconds on my laptop.

If making changes to the cached parts, the cache tarball needs to be
deleted between runs.

The --rootfs-tarball options MUST now be used on all invocations.
2019-01-13 15:43:12 +02:00
Lars Wirzenius 92f08cce01 Fix: make raspi3.yaml work with current vmdb2
Add the kpartx step. It is now mandtory for building an image
file. (Not necessary if building on a real drive directly.)

Use only one set of tag names: boot-part and root-fs. vmdb2 has
changed so that partitions and mount points share the same tag name
space: there's no need to have a tag for the partition and for the
mount point for that partition, anymore. As part of that, there's no
need to specify both the partition tag for the root partition, and
then also the tag for the mount point for that partition.

ea7b9bc1d3e5de362b5edf12603ee83c708ad1a1 is the commit of vmdb2 that
this works with.
2019-01-13 15:39:43 +02:00
Gunnar Wolf bf7dc84c50 FAT labels should be uppercase
...and both filesystem labels should be in the same case, for consistency
2018-12-04 18:39:03 -06:00
Mark Janssen 0682611f0f Install kernel and firmware from Buster
Kernel 4.18 and raspi3-firmware 1.20180619-1 are now included in Buster,
so we no longer need to install those from unstable or experimental.
2018-11-24 22:51:28 +01:00
Gunnar Wolf bf61a9bcdc Install kernel 4.18 from experimental (fixes the unreliable eth0) 2018-08-27 18:37:32 -05:00
Gunnar Wolf 79a32b324d Fix the chroot step introduced in my previous commit
${ROOT?} does not make sense within a chroot, was causing the build to fail
2018-08-23 09:15:18 -05:00
Gunnar Wolf 554020cc94 Fix the cmdline.txt options to boot by label, not by partition
This is done in order to allow for booting from non-MMC media (i.e. USB thumbdrives)
2018-08-15 19:13:27 -05:00
Gunnar Wolf 11943e5dde Mount filesystems by label, not partition 2018-08-14 14:11:13 -05:00
Christian Schlüter dc9ced8ed8
Flexible resizerootfs
Catches issue #15
2018-07-10 13:11:05 +02:00
gustavo panizzo fa47ee98fb Copying the keyring makes debootstrap to fail (#13)
Tested on debootstrap 1.0.93+nmu2
2018-03-26 17:51:10 +02:00
Michael Stapelberg f7aaf94080 Update comment to state which kernel/firmware we need for WiFi 2018-01-08 22:46:02 +01:00
Michael Stapelberg ae08f58b9b temporarily switch away from snapshot.debian.org
I can’t get an image built from any of the recent snapshot.debian.org
directories. Some file always can’t be found. Will need to take a closer look
and file a bug.
2018-01-08 22:45:15 +01:00
Michael Stapelberg 67120477a4 move rpi3-resizerootfs to /usr/sbin/ 2018-01-04 09:05:03 +01:00
Michael Stapelberg 331f68931a Initial commit 2017-10-08 22:48:29 +02:00