- Feb 03, 2022
-
-
Diederik de Haas authored
All credits for this go to 'dilinger', ie Andres Salomon. Instead of resizing the root partition and its filesystem via a systemd unit file, do it via a script in the initramfs, thus before the root filesystem gets mounted. The needed programs are copied into the initramfs during image build, but the files themselves get removed again, so that when the initramfs gets rebuild (on kernel upgrade f.e.), the resize-rootfs script and its needed components get removed entirely. The logic is that it looks whether there is free space after the *last* partition and if so, resize that partition to use all the available space. This actually (also) fixes a bug as previously the assumption was that the root partition was partition number 3, which of course fails when that was not the case. After resizing the partition, resize the filesystem on it too. Note that it uses the resize2fs program, so it only works on ext[2|3|4]. raspi-team/image-specs@0f23b8e3 raspi-team/image-specs@4816680b are the 2 commits from which this commit is derived.
-
- Nov 12, 2021
-
-
Diederik de Haas authored
In kernel 5.12 the audio card were changed to 'simple-card' and in 5.14 using a simple-card definition was needed to get multichannel audio working again. So add the latest version from LibreELEC. See https://github.com/LibreELEC/LibreELEC.tv/issues/5734 for details. In https://github.com/LibreELEC/LibreELEC.tv/pull/5837 the definition for the SPDIF card got updated (too), so update our version as well. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
- Sep 27, 2021
-
-
Diederik de Haas authored
These too are taken from LibreELEC's github repo at https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/filesystem/usr/share/alsa/cards Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
- Aug 21, 2021
-
-
Diederik de Haas authored
Describe how the Makefile can be used and what the other files in this repo are there for. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
So now instead of doing 'make rock64_bullseye.img', one can do 'make bullseye.img'. This makes it more efficient and also more portable. Note the construct with '%.img' where the first line defines a variable which then is used in the second line. Thanks to 'kibi' for pointing to https://salsa.debian.org/installer-team/busybox/-/blob/master/debian/rules#L56-60 Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Also add _check_root helper target and expand 'usage' target to describe how to use the new functionality. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Instead of typing the same string multiple times, extract it to a variable or constant, as the DRY principle tells us. This reduces subtle typos and makes it easier to make changes which have a big effect. It should also make it easier to adapt this Makefile/project for other SBCs. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Make the security repo disabled by default, but enable it for the current Stable release, Bullseye. As this project targets Stable and newer, the security repo will most often not (yet) be available. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Use __RELEASE__ in the master yaml file and substitute that with the appropriate release(s) during the make invocation. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
- Aug 20, 2021
-
-
Diederik de Haas authored
Let's follow the same logic as with RPi image-spec so we can make the release into a variable. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Problem is in qemu, but unfortunately the fix is not (yet?) part of Bullseye, hopefully that'll be fixed in a point release. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
- Jul 29, 2021
-
-
Diederik de Haas authored
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Applied to the 5.10.y branch with the following commit IDs: 421aff50af5e4cdc56b3ac8d6b670e09697bc8ac 88f0bc830c52f7c6015ea5b174997466ea208c3e Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
These are taken from LibreELEC's github repo stored under projects/Rockchip/filesystem/usr/share/alsa/cards. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
- Mar 21, 2021
-
-
Diederik de Haas authored
On first boot the root filesystem should be expanded to use all available space on the device. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Other parts can possibly be generalized, but not the once removed in this commit. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
This is also pretty much a copy of the one in rpi-image-specs. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
This is almost a copy of the script in rpi-image-specs, but here the root device is number 3. Probably worth trying to make that not hardcoded, so it becomes generic. The 'dit' prefix stands for Debian Image Tools. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
Credits to 'dilinger' again. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
http://opensource.rock-chips.com/wiki_Partitions details the partition layout as (all?) rockchip devices expect them to be so the relevant boot parts can be found. Once again, credits to 'dilinger'. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
Diederik de Haas authored
All credits belong to 'dilinger' on #debian-arm. Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
-
- Mar 20, 2021
-
-
Diederik de Haas authored
Signed-off-by: Diederik de Haas <github@cknow.org>
-
- Mar 15, 2021
-
-
Diederik de Haas authored
-