Commit Graph

16 Commits

Author SHA1 Message Date
cc0780ee69 Change references from rpi3-* to rpi-* 2019-07-18 21:18:59 -03:00
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
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
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
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
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
bf61a9bcdc Install kernel 4.18 from experimental (fixes the unreliable eth0) 2018-08-27 18:37:32 -05:00
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
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
11943e5dde Mount filesystems by label, not partition 2018-08-14 14:11:13 -05:00
dc9ced8ed8 Flexible resizerootfs
Catches issue #15
2018-07-10 13:11:05 +02:00
fa47ee98fb Copying the keyring makes debootstrap to fail (#13)
Tested on debootstrap 1.0.93+nmu2
2018-03-26 17:51:10 +02:00
f7aaf94080 Update comment to state which kernel/firmware we need for WiFi 2018-01-08 22:46:02 +01:00
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
67120477a4 move rpi3-resizerootfs to /usr/sbin/ 2018-01-04 09:05:03 +01:00
331f68931a Initial commit 2017-10-08 22:48:29 +02:00