- Jan 18, 2020
-
-
Ben Hutchings authored
debhelper 12 wants to run dh_installinitramfs, but we don't want this - in particular, because it makes initramfs-tools-core's maintainer scripts run update-initramfs. Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
- Dec 10, 2019
-
-
Debian Janitor authored
Fixes lintian: uses-debhelper-compat-file See https://lintian.debian.org/tags/uses-debhelper-compat-file.html for more details.
-
Debian Janitor authored
Fixes lintian: package-uses-old-debhelper-compat-version See https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html for more details.
-
- Nov 19, 2019
-
-
Ben Hutchings authored
hook-functions: preloaded libraries should not end up in the initramfs See merge request kernel-team/initramfs-tools!19
-
Johannes 'josch' Schauer authored
Closes: #944929
-
Ben Hutchings authored
Don't require build dependency on shellcheck when nocheck profile is enabled See merge request kernel-team/initramfs-tools!20
-
- Nov 18, 2019
-
-
Alexander Volkov authored
-
- Oct 27, 2019
-
-
Ben Hutchings authored
hook-functions: Handle dw_mmc-rockchip hidden dependency on rockchip-io-domain See merge request kernel-team/initramfs-tools!18
-
Ben Hutchings authored
Include modules for Chromebook Plus display See merge request kernel-team/initramfs-tools!15
-
Ben Hutchings authored
Running a static checker is not a substitute for proper integration tests, which are still TBD. Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
- Oct 08, 2019
-
-
Alper Nebi Yasak authored
On Samsung Chromebook Plus (v1), messages and prompts printed during an initramfs run aren't visible to the user unless the pwm_bl, rockchipdrm, pwm-cros-ec and panel-simple modules are included. This commit includes these when MODULES=dep and when MODULES=most. For MODULES=dep: adds backlight and pwm to the dep_modules_add sys-walk. Walking backlight includes pwm_bl and pwm includes pwm-cros-ec. Since panel-simple isn't reachable from /sys/class/**, but it can be reached from /sys/devices/platform/edp-panel, that path is sys-walked if it exists. When {efi,platform,simple,vesa}-framebuffer cannot provide a working framebuffer device, graphics is sys-walked as well. Walking drm works for rockchipdrm too, but also includes panfrost, so graphics was chosen instead. For MODULES=most: the modules are included in a new case 'fb' in the auto_add_modules intended for modules providing framebuffer support for machines where generic drivers don't provide one. Signed-off-by:
Alper Nebi Yasak <alpernebiyasak@gmail.com>
-
Alper Nebi Yasak authored
Without rockchip-io-domain, I'm getting the following errors when plugging micro SD cards to a rk3399-gru-kevin: dwmmc_rockchip fe320000.dwmmc: All phases bad! mmc1: tuning execution failed: -5 mmc1: error -5 whilst initialising SD card In that case the relevant /dev/mmcblk* device isn't available either, so we can't boot from the external SD card. Signed-off-by:
Alper Nebi Yasak <alpernebiyasak@gmail.com>
-
- Sep 14, 2019
-
-
Ben Hutchings authored
Update to new name for kernel module therm_pm72 See merge request kernel-team/initramfs-tools!17
-
- Sep 03, 2019
-
-
Mathieu Malaterre authored
Also update a minor comment to clarify what to load nowadays. See commit 6cd320996746 ("powerpc/powermac: New windfarm driver for PowerMac G5 (AGP) and Xserve G5"). Signed-off-by:
Mathieu Malaterre <malat@debian.org>
-
- Aug 21, 2019
-
-
Ben Hutchings authored
Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
hook-functions: Handle spi-rockchip hidden dependency on pl330 See merge request kernel-team/initramfs-tools!16
-
Ben Hutchings authored
There are still other packages with hooks and scripts that shellcheck finds fault with. This shouldn't cause a test failure for initramfs-tools itself, but unfortunately that's what happens now: https://ci.debian.net/data/autopkgtest/testing/amd64/i/initramfs-tools/2780481/log.gz Replace the Test-Command with a script that tests only hook and boot scripts installed by specific binary packages. We can expand this list as and when other packages are updated. Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
- Aug 11, 2019
-
-
Alper Nebi Yasak authored
Recent kernel versions (v5.0) enabled SPI DMA channels in the RK3399 DTS file. Not including pl330 in the initramfs now makes some systems unbootable (at least rk3399-gru-kevin) presumably because of this. Signed-off-by:
Alper Nebi Yasak <alpernebiyasak@gmail.com>
-
- Jul 28, 2019
-
-
Ben Hutchings authored
init: /dev can be noexec and /run nodev This change *will* be visible in systemd units that use the InaccessiblePaths option to hide device files. systemd creates a dummy file of each type in /run/systemd/inaccessible/<type> and bind-mounts them over the paths specified in this option. If a process in such a unit attempts to access a device that is made inaccessible, it will now fail with error EPERM and not ENODEV. Hopefully this won't cause breakage. See merge request kernel-team/initramfs-tools!9
-
Ben Hutchings authored
Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
- Jul 27, 2019
-
-
Ben Hutchings authored
Describe the new behaviour introduced by commit f39625af "update-initramfs: Make "-k all" take over other initramfs images". Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
This is mnemonic, and consistent with messages the command may output. Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
The fsck hook depends on logsave, which has moved from e2fsprogs to a separate binary package. Closes: #932854 Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
"lz4cat -t" checks that the filename ends in ".lz4", not just that it has a valid header etc. This can be avoided by giving it the file as stdin instead of by name. Closes: #930366 Thanks: Dimitri John Ledkov <xnox@ubuntu.com> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
klibc's reboot implementation always calls reboot(2), whereas busybox's reboot implementation defaults to signalling an init daemon which doesn't exist in the initramfs. The solution is simply to use the -f option, which both implementations accept. This seems to have been broken since commit c04a9db5 "hooks/klibc: Make us play more nicely with busybox and static bin/sh" which caused busybox's reboot implementation to be preferred over klibc's. The failure to reboot was previously reported as #751488, but only worked around by forcing a kernel panic if it failed. Closes: #923165 Related-to: #751488 Thanks: Michael Niewöhner <linux@mniewoehner.de> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
The copy_file function applies two transformations to the target filename: 1. If it matches /bin/*, /lib*, or /sbin/*, add /usr to the beginning since the initramfs is usrmerged. 2. If it refers a directory, add the basename of the source filename. These need to be done in the opposite order, to handle a target filename of "/bin" correctly. Closes: #928689 Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
We always need to write the resume device name to the kernel, either (a) to resume, if a suspend image is found, or (b) to enable suspend to that device later. We let the kernel distinguish the two cases itself. Since we started reporting the attempt to resume through plymouth, if the text front-end is used (currently the default in Debian) the message remains on-screen and is confusing in case (b). (If the frame-buffer front-end is used, we clear the message.) I can't think of a message that usefully covers both cases, and if case (b) it's not really necessary to report anything. Use fstype to check for a suspend image before reporting that we're resuming. Closes: #928736 Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
- Jun 21, 2019
-
-
Ben Hutchings authored
mkinitramfs: suppress warning when using bzip2 or lzma See merge request kernel-team/initramfs-tools!12
-
- Jun 19, 2019
-
-
Uwe Kleine-König authored
When using bzip2 a message is emitted W: Unknown compression command bzip2 which is wrong and irritating. Suppress this warning for both bzip2 and lzma. Fixes: e0d4024d ("mkinitramfs: Warn if the compression command is not recognised") Closes: #930754
-
- May 04, 2019
-
-
Ben Hutchings authored
On some ChromeOS devices the keyboard is attached to an EC which the host must communicate with over SPI. Thanks: Alper Nebi Yasak <alpernebiyasak@gmail.com> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
Until recently most keyboard drivers were either built-in or HID (which we already include). However there are other important modular keyboard drivers such as cros_ec_keyb which were only included when MODULES=dep. Thanks: Alper Nebi Yasak <alpernebiyasak@gmail.com> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
Include extcon-usbc-cros-ec for MODULES=most, and extcon drivers for MODULES=dep See merge request kernel-team/initramfs-tools!10
-
- Apr 30, 2019
-
-
Alper Nebi Yasak authored
Signed-off-by:
Alper Nebi Yasak <alpernebiyasak@gmail.com>
-
Alper Nebi Yasak authored
Signed-off-by:
Alper Nebi Yasak <alpernebiyasak@gmail.com>
-
- Apr 13, 2019
-
-
Topi Miettinen authored
/dev used to be mounted with "exec" flag due to /dev/MAKEDEV script but that's history and it's now located in /sbin. mmap() with file descriptor to "/dev/zero" (instead of modern mmap(,,,MAP_ANON...)) will still work. There's no reason to have (char/block) device nodes in /run, so let's mount it with "nodev". This does not affect sockets, fifos etc. Signed-off-by:
Topi Miettinen <toiwoton@gmail.com>
-
- Mar 05, 2019
-
-
Ben Hutchings authored
autopkgtest: Check also /usr/share/initramfs-tools/{hooks,scripts} See merge request kernel-team/initramfs-tools!8
-
- Feb 11, 2019
-
-
Benjamin Drung authored
klibc 2.0.5-1, kmod 26-1, and systemd 240-4 fixed their shellcheck issues. So we can also check the whole /usr/share/initramfs-tools/hooks and /usr/share/initramfs-tools/scripts directories. Signed-off-by:
Benjamin Drung <benjamin.drung@cloud.ionos.com>
-
- Feb 10, 2019
-
-
Ben Hutchings authored
In 0.131 the automatic selection of a resume device was changed to disable resume if the largest swap device was encrypted with a ephemeral key. In 0.132 I changed the automatic selection to also reject zram devices, but I also changed it to loop over all swap devices since zram might well be used alongside a conventional swap device that we could use. Unfortunately, in case swap devices are available but none are suitable, this results in selecting the last one. Closes: #916696 Thanks: Trek <trek00@inbox.ru> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
- Feb 06, 2019
-
-
Ben Hutchings authored
Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-
Ben Hutchings authored
Related-to: #916696 Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
-