Commit Graph

219 Commits

Author SHA1 Message Date
Gunnar Wolf 2075ce2a4a Install and enable set-sysconf 2019-07-19 12:14:51 -03:00
Gunnar Wolf 8ae45e43de Rework set-sysconf not to require Sys::Sysconf
Used a module not in the base Perl install; we fork to "logger" instead.
2019-07-19 11:34:17 -03:00
Gunnar Wolf c9e493a243 Fix minor typos 2019-07-19 10:05:43 -03:00
Gunnar Wolf 8d7a5b1f11 First sketch of the sysconf file 2019-07-19 10:05:26 -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 a14e986366 First sketch of a sysconfig-parser 2019-07-19 00:54:47 -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 0931b306ff Update instructions to match the multiple builds 2019-07-18 21:22:46 -03:00
Gunnar Wolf 46acf72efe Ignore suggested build logs, images and system tar.gzs 2019-07-18 21:20:22 -03:00
Gunnar Wolf cc0780ee69 Change references from rpi3-* to rpi-* 2019-07-18 21:18:59 -03:00
Gunnar Wolf a898b8c2bc Remove broken YAML files for RPi1 2019-07-18 16:53:31 -03:00
Gunnar Wolf 1b3712afbc The images build with Buster's vmdb2 - no need to include it as a submodule anymore 2019-07-18 12:57:20 -03:00
Gunnar Wolf 07d7ed3aed Finally updating, with images building for the three supported Raspberry families 2019-07-18 12:56:13 -03:00
Daniel Moran 8577f5d5e4 Use upstream Device Tree 2019-06-27 21:40:35 +01:00
Daniel Moran 8b6acd8207 Enable the bootloader UART 2019-06-27 21:39:49 +01:00
Daniel Moran 06ae6de858 Use the "rpi" kernel 2019-06-27 21:37:40 +01:00
Daniel Moran 822f75662d Use Sid, instead of buster 2019-06-27 21:34:53 +01:00
Daniel Moran 6a51dedbf4 Create spec for Zero W 2019-06-27 21:05:18 +01:00
Gunnar Wolf bfc2385c02 Experimentally adding recipes for building for models Zero+1, 2
I received reports the "lesser" raspberries do work. Lets try!
2019-02-15 17:28:28 -06:00
Gunnar Wolf d8e2e24dde Follow liw's suggestion of using a rootfs-tarball for a huge performance gain 2019-01-14 18:02:42 -06:00
Gunnar Wolf b785c4837f
Merge pull request #49 from liwfi/liw/fix-for-vmdb2
Liw/fix for vmdb2
2019-01-14 17:25:34 -06: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 7137dfb51f Update vmdb2 2018-12-04 18:43:09 -06: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
Gunnar Wolf badf0da112 Fix and update minor issues in the README 2018-12-04 18:38:09 -06:00
Gunnar Wolf bb2907474a
Merge pull request #44 from praseodym/kernel-and-firmware-from-buster
Install kernel and firmware from Buster
2018-11-26 13:00:30 -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 1aa73ced0f Updated vmdb2 snapshot to support labels in mkfs 2018-08-15 17:36:10 -05:00
Gunnar Wolf 11943e5dde Mount filesystems by label, not partition 2018-08-14 14:11:13 -05:00
Gunnar Wolf 68344d79da Merge branch 'resizerootfs' 2018-07-25 14:44:27 +08:00
Gunnar Wolf 34ae4edb00 Updating README 2018-07-18 17:57:39 -05:00
Gunnar Wolf fc3d384e86
Merge pull request #29 from gwolf/master
First steps towards adopting the project
2018-07-18 16:16:03 -05:00
Gunnar Wolf 8f0b6f3fac Updating references to vmdb2 to its current repository location
Removing also the notice looking for a new maintainer
(that is, I am adopting it ;-) )
2018-07-18 12:44:35 -05:00
Christian Schlüter e918d6d0b6
Fix resizerootfs string manipulation
Works with several usb devices plugged in on first boot.
2018-07-17 08:32:30 +02:00
Christian Schlüter e196f6caec
Move rpi3-resizerootfs.service further up the chain 2018-07-16 17:12:52 +02:00
Christian Schlüter 47cc06fe3a
Move resizerootfs.service further up the chain 2018-07-15 13:03:32 +02:00
Christian Schlüter a2557f3720
Disable resizerootfs service timeout 2018-07-15 11:12:56 +02:00
Christian Schlüter 4341e7353d
Fix resizerootfs 2018-07-15 00:03:02 +02:00
Christian Schlüter d4874ba3df
Screw parted, use sfdisk 2018-07-14 21:57:03 +02:00
Christian Schlüter 9adfac6964
Fix parted invocation again 2018-07-11 06:49:42 +02:00
Christian Schlüter 6e0b7a4a96
Fix parted invocation 2018-07-10 22:42:06 +02:00
Christian Schlüter dc9ced8ed8
Flexible resizerootfs
Catches issue #15
2018-07-10 13:11:05 +02:00
Michael Stapelberg 308e004bb2 README: add deprecation note 2018-06-10 18:57:36 +02:00
Michael Stapelberg 8ab6aa7ffc Unify dd command with https://wiki.debian.org/RaspberryPi3 2018-04-05 20:02:36 +02:00