diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:45:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:45:08 +0000 |
commit | f866c40aef35932863d4cb9f22859641227c9b60 (patch) | |
tree | 916091dcb4e1c863c6e666133f0d32244e2d84eb | |
parent | Adding upstream version 0.142. (diff) | |
download | initramfs-tools-f866c40aef35932863d4cb9f22859641227c9b60.tar.xz initramfs-tools-f866c40aef35932863d4cb9f22859641227c9b60.zip |
Adding debian version 0.142.debian/0.142debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
35 files changed, 5712 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..78a0c68 --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,104 @@ +initramfs-tools (0.129) unstable; urgency=medium + + * Some systems that do not support suspend-to-disk (hibernation) will + require a configuration change to explicitly disable this. + + From version 0.128, the boot code waits for a suspend/resume device + to appear, rather than checking just once. If the configured or + automatically selected resume device is not available at boot time, + this results in a roughly 30 second delay. + + You should set the RESUME variable in + /etc/initramfs-tools/conf.d/resume or + /etc/initramfs-tools/initramfs.conf to one of: + + - auto - select the resume device automatically + - none - disable use of a resume device + - UUID=<uuid> - use a specific resume device (by UUID) + - /dev/<name> - use a specific resume device (by kernel name) + + -- Ben Hutchings <ben@decadent.org.uk> Thu, 20 Apr 2017 23:21:32 +0100 + +initramfs-tools (0.121~rc1) unstable; urgency=medium + + * If initramfs-tools is configured to use busybox but it is not + installed, mkinitramfs will now fail. Previously it would quietly use + klibc instead, sometimes producing a broken initramfs. You may need + to modify /etc/initramfs-tools/initramfs.conf or install busybox when + upgrading. + * Support for loop-aes has been removed. If you use loop-aes encryption + for the root or /usr filesystem, you will need to switch to cryptsetup. + See the 'loop-AES extension' section in cryptsetup(8). + + -- Ben Hutchings <ben@decadent.org.uk> Tue, 22 Dec 2015 21:56:40 +0000 + +initramfs-tools (0.119) unstable; urgency=medium + + * The initramfs will now run fsck on the root filesystem before + mounting it. If the chosen init program is systemd and there is a + separate /usr filesystem, it will also fsck and mount /usr. + * If /usr is a separate filesystem on a RAID device and the INITRDSTART + setting in /etc/default/mdadm is not 'all', you will need to change it + to include that device. + * If /usr is a separate filesystem on an LVM logical volume, and the + line for /usr in /etc/fstab specifies the device by UUID or LABEL, + you must change this line to specify the device using the format + /dev/mapper/VG-LV or /dev/VG/LV. + * It is no longer possible to bind-mount the /usr filesystem. + * If the RTC (real time clock) is set to local time and the local time is + ahead of UTC, e2fsck will print a warning during boot about the time + changing backward (bug #767040). You can disable this by putting the + following lines in /etc/e2fsck.conf: + [options] + broken_system_clock=1 + [As of e2fsprogs version 1.42.13 this message is informational, and + no configuration change is required.] + + -- Ben Hutchings <ben@decadent.org.uk> Mon, 13 Apr 2015 01:00:21 +0100 + +initramfs-tools (0.94) unstable; urgency=low + + To improve boot speed and avoid some complications, video drivers are + no longer included in the initramfs by default (MODULES=most). + + -- maximilian attems <maks@debian.org> Mon, 05 Apr 2010 08:10:34 +0200 + +initramfs-tools (0.76) unstable; urgency=low + + This release features nfs auto detection in the initramfs. + The boot paramaters are parsed according to the linux source + Documentation/kernel-parameters.txt and more specifically + Documentation/nfsroot.txt. + + The initramfs-tools(8) manpage documents the parsed boot parameter. + Note that the undocumented and non compliant nfsoption bootarg got + dropped. + + -- maximilian attems <maks@sternwelten.at> Wed, 23 Aug 2006 08:47:26 +0200 + +initramfs-tools (0.61) unstable; urgency=low + + This release moves the initramfs-tools confdir from /etc/mkinitramfs to + /etc/initramfs-tools. Packages are encouraged to ship files as scripts + under /usr/share/initramfs-tools. + + Local tests behaved fine, but be warned that this could potentially + cause boot troubles on upgrade. + + -- maximilian attems <maks@sternwelten.at> Wed, 21 Jun 2006 09:16:01 +0200 + +initramfs-tools (0.10) breezy; urgency=low + + This release includes hardware auto detection in the initramfs. + This means two things in particular that are important: + + 1) the resulting initramfs will be huge. Like 10 megs huge. + I will shrink it down once it's correct. If you're on an + arch that doesn't like >4mb initramfs', then this won't boot. + + 2) Your network drivers are loaded in the initramfs, so hotplug + won't see a network event, so ifup won't be run. This will + be fixed shortly in hotplug. + + -- Jeff Bailey <jbailey@ubuntu.com> Fri, 17 Jun 2005 15:17:06 +0000 + diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..7fa0c61 --- /dev/null +++ b/debian/README @@ -0,0 +1,37 @@ +initramfs-tools +=============== + +The Linux kernel may boot using an "initramfs", an archive of files +that it unpacks into an in-memory file system at the beginning of the +boot process. This archive must contain its own init program which +the kernel will run as the first user process. In a Debian system, +the initramfs is responsible for: + +* Loading essential driver modules +* Setting up a network connection, if required +* Setting up layered storage devices, if required +* Resuming from hibernation (suspend-to-disk), if possible +* Checking and mounting the root and /usr file systems +* Handing over to the main init system + +initramfs-tools is designed to be extensible, and many other packages +provide these and additional features in the initramfs. + +On x86 systems, the initramfs can also contain CPU microcode updates +that the kernel will apply at a very early stage. These are provided +by the (non-free) intel-microcode and amd64-microcode packages. + +Debian's official kernel packages require the use of an initramfs, +since drivers and filesystem code are built as modules that need to be +loaded before the file systems can be mounted. Custom kernel packages +that have this code built-in may still need an initramfs to set up +layered storage devices or to provide microcode updates. + +If initramfs-tools is installed, it will generate an initramfs +automatically whenever a kernel is installed or upgraded (and remove +it when the kernel is removed). If only initramfs-tools-core is +installed, you can run mkinitramfs to generate an initramfs. + +The initramfs-tools(7) manual page documents the supported parameters +and how to extend initramfs-tools. There are additional manual pages +for the various commands and configuration files. diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..43b37ce --- /dev/null +++ b/debian/TODO @@ -0,0 +1,13 @@ +TODO +==== + + o Grep for TODO and FIXME and do those. =) + + o Exclude list of hooks for admin. + + o Easier generation for remote boxes, see #570522. + + o "Fix" sed magic for lib dependence, + copy_exec, maybe use dracut copy logic. + + o root loop support. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..43c2b66 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,4861 @@ +initramfs-tools (0.142) unstable; urgency=medium + + [ Dan Streetman ] + * [8c9840e] hooks/fsck: always include fsck binary (LP: #1917780) + + [ Dimitri John Ledkov ] + * [d8c5864] mkinitramfs: decompress compressed kernel modules + + [ szubersk ] + * [e447e91] resume: Don't resume from a swap device on a ZVOL + + [ Johannes Schauer Marin Rodrigues ] + * [834d01d] hook-functions: Add pwm-imx27, nwl-dsi, ti-sn65dsi86, + imx-dcss, mxsfb, mux-mmio and imx8mq-interconnect for MNT Reform 2 + panel/backlight. + + [ Rich Ercolani ] + * [50d945a] Add support for specifying compression level + + [ Ben Hutchings ] + * [5bf479d] hook-functions: Remove support for ieee1394 and i2o + * [9a4d579] hook-functions: auto_add_modules: Include UFS drivers from + drivers/ufs/ + + [ Sven Joachim ] + * [c064b9e] Copy modules.builtin.modinfo into initramfs (Closes: #1014319) + + -- Ben Hutchings <benh@debian.org> Tue, 12 Jul 2022 23:51:34 +0200 + +initramfs-tools (0.141) unstable; urgency=medium + + [ Hideki Yamane ] + * [742c8ee] Use zstd as default compression for initramfs (Closes: #976054) + * [b6ccfb6] Recommends: s/pigz/zstd/ + * [1063c43] Add check whether zstd support kernel (>= 5.9) and + CONFIG_RD_ZSTD=y or not + * [71c29fd] As comparison, compression level 9 is better. + * [9cee2f0] Consider SOURCE_DATE_EPOCH option for zstd + + [ Alper Nebi Yasak ] + * [db7aec4] hook-functions: Include io-domain in dw_mmc-rockchip hidden + dependencies + + [ Michael Biebl ] + * [7ec5e26] Setup /dev/fd and /dev/std{in,out,err} after mounting devtmpfs + (Closes: #981302) + + [ Dan Streetman ] + * [116b532] hook-functions: check for dir before running find on it + (LP: #1927779) + + [ Vagrant Cascadian ] + * [a5d9b32] hook-functions: Add pwm-rockchip to "fb" modules for Pinebook PRO + LCD display. + * [7e15676] hook-functions: Add usb/typec/tcpm modules to support keyboard on + Pinebook PRO. + * [5f17c03] hook-functions: Add panel-edp to "fb" modules for Pinebook PRO + LCD display. + + [ Ben Hutchings ] + * [26f2f00] Only run shellcheck in Salsa CI (Closes: #992798) + * [bd1519b] Fix shellcheck warning "Avoid x-prefix in comparisons ..." + * [4937118] hook-functions: Fix shellcheck warning "Expansions inside ${..} + need to be ..." + * [883f4ad] mkiniramfs: Log warning about missing compressor to stderr + * [035190c] mkinitramfs: Generalise kernel compression support check + * [58e05e4] d/salsa-ci.yml: Disable non-arch:all builds + * [5679e26] debian/tests/control: Add zstd as dependency to avoid (fatal) + warnings + * [e856af4] hook-functions: Support network boot via USB Ethernet adapters + (Closes: #980788) + * [ec5c6c7] scripts/functions: Refactor device name logic in + configure_networking + * [80eddcf] scripts/functions: Make configure_networking wait for device + specified any way (Closes: #911727) + + [ Ben Love ] + * [02dc65f] Fully-qualify modprobe calls to avoid busybox + + [ Ariel D'Alessandro ] + * [8a6f73c] hook-functions: Add nvmem-imx-ocotp driver module to network boot + + -- Ben Hutchings <benh@debian.org> Sun, 10 Apr 2022 23:39:45 +0200 + +initramfs-tools (0.140) unstable; urgency=medium + + [ Norbert Lange ] + * mkinitramfs: use temporary file for uncompressed cpio + + [ Michael Prokop ] + * mkinitramfs: report actually requested compress util if it's not present + + [ Ben Hutchings ] + * init: Mount /dev without the noexec option + + [ dann frazier ] + * configure_networking(): Wait for specified network device (Closes: #965935) + + [ Bastian Blank ] + * Include all PCI controller modules + * Include all reset controller modules + + -- Bastian Blank <waldi@debian.org> Sat, 13 Mar 2021 19:13:18 +0100 + +initramfs-tools (0.139) unstable; urgency=medium + + * [9679f0c] debian/tests: Run amd64 tests on either amd64 or generic flavour + * [0099040] debian/tests/control: Mark all amd64 tests as + skip-not-installable (Closes: #970184) + * [3616c8f] conf/initramfs.conf: Fix typo "filesytem" (Closes: #970235) + + -- Ben Hutchings <benh@debian.org> Sun, 13 Sep 2020 19:28:00 +0100 + +initramfs-tools (0.138) unstable; urgency=medium + + [ Ben Hutchings ] + * [0b034b4] docs/maintainer-notes.md: Delete the horizontal rules + * [ba883cb] docs/maintainer-notes.md: Use Gitlab markup for table of contents + * [5284a00] docs/maintainer-notes.md: Use Gitlab markup for definition table + * [a469b7e] docs/maintainer-notes.md: Use archive.org URL for Daniel Baumann + doc + * [424260e] debian/control, docs/maintainer-notes.md: Use my @debian.org + address + * [181a35c] update-initramfs: Remove test for direct invocation from kernel + package + * [6ebe41b] Remove obsolete update-initramfs state in + /var/lib/initramfs-tools + * [2f2ad0d] hook-functions: copy_exec: Copy libgcc_s.so with any soversion up + to 9 (Closes: #959768) + * [0f24cc1] Add CI configuration for salsa.debian.org + * [9877542] initramfs.conf: Delete "NFS Section" comment + * [4309c3b] Add FSTYPE config parameter to allow overriding filesystem type + detection (Closes: #923400) + * [6300aa1] Change "panic" parameter handling to work more like the kernel + * [90d64bd] debian/tests: Add common test preparation code + * [3dd2984] debian/tests: Add basic test for amd64 using klibc and not + busybox + * [69240b1] debian/tests: Add basic test for amd64 using busybox + * [3d834c8] debian/tests: Add basic tests for amd64 with only ata/virtio + driver + * [c14b760] debian/tests: Add test for separate /usr device + * [6b3b361] debian/tests: Add test of the panic shell and parameter handling + + [ Vagrant Cascadian ] + * [482897b] hook-functions: Add modules needed for Pinebook LCD display. + + [ Guilherme G. Piccoli ] + * [c3cbf35] scripts/functions: Prevents printf error carry over if wrong + console is set (Closes: #960355) + + [ Unit 193 ] + * [3b82099] When overriding configured compressor, warn the user. + + [ Norbert Lange ] + * [e94f410] un-,mkinitramfs: add support for zstd (Closes: #955469) + + [ Jann Horn ] + * [a7718dc] Add firmware for built-in drivers (Closes: #857054) + + -- Ben Hutchings <benh@debian.org> Fri, 11 Sep 2020 20:37:29 +0100 + +initramfs-tools (0.137) unstable; urgency=medium + + [ Ben Hutchings ] + * [1b28d25] Document copy_exec as usable for shared libraries + * [f2ac13e] hook-functions: copy_exec: Copy libgcc_s.so.1 along with + libpthread.so.* (Closes: #950254) + * [d96228a] hook-functions: copy_exec: Correct verbose log message for + symlinks + * [dd5fb36] hook-functions: Factor out device class walking into a function + * [14a00af] hook-functions: Don't add backlight modules if we have generic + fb device (Closes: #955347) + * [f6133e1] Fix new shellcheck warnings around unquoted parameter expansion + (Closes: #958851) + + [ AP ] + * [857042c] hook-functions: Search for firmware under /lib/firmware/updates + (Closes: #956663) + + -- Ben Hutchings <benh@debian.org> Tue, 28 Apr 2020 04:56:17 +0100 + +initramfs-tools (0.136) unstable; urgency=medium + + [ Mathieu Malaterre ] + * [90bd459] Update to new name for kernel module therm_pm72 + + [ Alper Nebi Yasak ] + * [ded7214] hook-functions: Handle dw_mmc-rockchip hidden dependency on + rockchip-io-domain + * [da85190] hook-functions: Include modules for Chromebook Plus display + + [ Ben Hutchings ] + * [afd2668] debian/tests/control: Mark shellcheck test as superficial + * [9d8b690] mkinitramfs: Remove workaround for old udev versions + * [2b55aca] mkinitramfs: Remove special case for Arm OABI ports + * [a9e5169] mkinitramfs: Remove armhf dynamic linker hack + * [b19b6f3] debian/rules: Suppress execution of dh_installinitramfs + * [8330bcd] mkinitramfs: Use cp -p option for ld.so.conf* instead of -aZ + * [15fd713] initramfs-tools(7): Change example to use copy_exec instead of cp + * [c2d589e] Revert "mkinitramfs: check if initramfs has a shell" + * [835d584] mkinitramfs: Copy modules.builtin.bin into initramfs + (Closes: #948257) + * [0012977] init: Remove special case for kernel parameter resume=UUID=... + * [897ab77] update-initramfs: Make "-c -k all" options useful again + (Closes: #926401) + * [d6c6eec] init: Mount /dev with "exec" option if v86d is present + (Closes: #940171) + * [a9e73b5] hook-functions: Drop ext4dev from filesystem module list + * [41d9ceb] mkinitramfs: Enable multihreaded xz compression (Closes: #942144) + + [ Alexander Volkov ] + * [e34affa] Don't require build dependency on shellcheck when nocheck profile + is enabled + + [ Johannes 'josch' Schauer ] + * [e2ad678] hook-functions: preloaded libraries should not end up in the + initramfs (Closes: #944929) + + [ Debian Janitor ] + * [a1e17fc] Bump debhelper from old 9 to 12. + * [4d86d1a] Set debhelper-compat version in Build-Depends. + + [ Romain Perier ] + * [4df27e2] hook-functions: Add f2fs as base in auto_add_modules + + [ Christian Göttsche ] + * [0db5752] Do not copy SELinux context in mkinitramfs (Closes: #948365) + + [ Topi Miettinen ] + * [55afeec] Tighten permissions for /run/initramfs + + -- Ben Hutchings <ben@decadent.org.uk> Sat, 18 Jan 2020 18:48:51 +0000 + +initramfs-tools (0.135) unstable; urgency=medium + + [ Topi Miettinen ] + * [eb98d2e] init: /dev can be noexec and /run nodev + + [ Alper Nebi Yasak ] + * [43488a3] hook-functions: Handle spi-rockchip hidden dependency on pl330 + + [ Ben Hutchings ] + * [116ce5c] autopkgtest: Only test hook and boot scripts from specific + packages + + -- Ben Hutchings <ben@decadent.org.uk> Wed, 21 Aug 2019 23:06:28 +0100 + +initramfs-tools (0.134) unstable; urgency=medium + + [ Ben Hutchings ] + * [8aeae9f] hooks/resume: Disable resume when there are no suitable swap + devices. Thanks to Trek <trek00@inbox.ru> (Closes: #916696) + * [40f6647] hook-functions: Include all keyboard driver modules when + MODULES=most. Thanks to Alper Nebi Yasak <alpernebiyasak@gmail.com> + * [797e5fe] hook-functions: Include cros_ec_spi and SPI drivers when + MODULES=most. Thanks to Alper Nebi Yasak <alpernebiyasak@gmail.com> + * [f65627d] resume: Set plymouth status only if there is a suspend image + (Closes: #928736) + * [c31a908] hook-functions: Fix copy_file with target of "/bin" + (Closes: #928689) + * [8a29ef3] scripts/functions: Use "reboot -f" to reboot on panic. + Thanks to Michael Niewöhner <linux@mniewoehner.de> (Closes: #923165) + * [da9f53e] unmkinitramfs: Work around lz4cat filename check. + Thanks to Dimitri John Ledkov <xnox@ubuntu.com> (Closes: #930366) + * [cf7bb4b] initramfs-tools-core: Depend on logsave or older e2fsprogs + (Closes: #932854) + * [8570718] update-initramfs(8): Document -d option as "delete" instead of + "remove" + * [fffe514] update-initramfs(8): Update description of "-k all" option + + [ Benjamin Drung ] + * [5e94f22] autopkgtest: Check also + /usr/share/initramfs-tools/{hooks,scripts} + + [ Alper Nebi Yasak ] + * [994d698] hook-functions: Include extcon-usbc-cros-ec when MODULES=most + * [4e3496a] hook-functions: Include extcon drivers when MODULES=dep + + [ Uwe Kleine-König ] + * [37dcf3d] mkinitramfs: suppress warning when using bzip2 or lzma + (Closes: #930754) + + -- Ben Hutchings <ben@decadent.org.uk> Sun, 28 Jul 2019 01:10:56 +0100 + +initramfs-tools (0.133) unstable; urgency=medium + + [ Ben Hutchings ] + * [942f1d2] unmkinitramfs, lsinitramfs: Avoid zcat compatibility issue by + running gzip (Closes: #903931) + * [94683ef] mkinitramfs: Remove check for kernel version < 2.6.38 + * [40fb032] mkinitramfs; Stop setting both compress and COMPRESS variables + * [01af757] initramfs-tools: Change trigger declaration to "interest-await" + * [2bb6a9c] update-initramfs: Remove test for working dpkg-trigger + * [1f10559] kernel hooks: Remove use of update-initramfs -t option + * [1343b68] update-initramfs: Remove undocumented -y option + * [e0d4024] mkinitramfs: Warn if the compression command is not recognised + * [bafb9d4] init: Always export the resume and noresume variables, as + documented + * [f21fdae] debian/rules: Use a more conservative "find" for shellcheck + arguments + * [9c63564] Change get_fstype to be silent on failure + * [58df6d3] scripts/functions: Abort _checkfs_once early if fs type is + unknown + * [f8ceeb9] scripts/local: Explicitly check for missing root parameter and + mount failure. Thanks to "G.raud" <graud@gmx.com> (Closes: #848906) + * [a5ae8a1] scripts/{local,nfs}: Remove redundant modprobe of filesystem + modules + * [4807ede] hook-functions: Avoid symlinks that conflict with usr-merge in + copy_file + * [79f49b9] {hooks,scripts}/keymap: Use setupcon --setup-dir + * [839be1b] scripts/local: Handle rootfstype=auto the same as if type is + unspecified (Closes: #908967) + * [f086b72] mkinitramfs: Use default compression level for lzop + (Closes: #916935) + * [d343f5e] README: Summarise what initramfs-tools does and point to manual + pages + * [c5dd80a] initramfs-tools(7): Document how to update the initramfs from + another package (Closes: #893897) + * [2e5e389] scripts/functions: Revert change to _log_msg and make callers + format-safe + * [49139ca] scripts/local-premount/resume: Report when we are resuming. + Thanks to Mario Limonciello <mario.limonciello@dell.com> + * [28b9d1d] scripts/nfs: Use "sleep" instead of /bin/sleep (Closes: #677049) + * [db394d3] Print warnings and errors in initramfs generation consistently + * [d9cf2f2] hooks/fsck: If get_fstype fails, report which file system it + failed for (Closes: #766446) + * [1ae0994] mkinitramfs: Change EXTRA_CONF to include directory names + * [34f84b4] mkinitramfs: Don't add directories to EXTRA_CONF + * [db31e7e] mkinitramfs: Use pigz if available instead of gzip + * [e4a5589] initramfs-tools-core: Recommend pigz + * [b8d3d59] Remove descriptions of removed/deprecated options from man page + synopses + * [4d57f63] mkinitramfs(8), update-initramfs(8): Fix over-indentation of + options + * [66902db] update-initramfs(8): Fix formatting of mode options in the + synopsis + * [bb9d247] Move usage function for mkinitramfs out of hook-functions + * [2380cb8] update-initramfs: Use getopt instead of getopts + * [abca193] update-initramfs: Make -h option return 0 and write usage to + stdout + * [ccf07ee] update-initramfs: Support --help option + * [c800321] Make all commands return 2 in case of a usage error + * [fc81f7f] mkinitramfs: Support -h and --help options + * [94e05dd] unmkinitramfs(8): Abbreviate synopsis to avoid wrapping + * [00809d7] Make manual pages and usage messages more consistent + * [45f4d15] unmkinitramfs: Write usage on stderr in case of error + * [908bd7d] lsinitramfs, mkinitramfs, unmkinitramfs: Show usage if getopt + fails + * [1cc6e78] lsinitramfs: Check for empty list of arguments after parsing + options + * [fb3ea62] hooks/resume: Report in excruciating detail if the -v option is + used + + [ Benjamin Drung ] + * [806c757] scripts/functions: Fix syntax error: unexpected "(" on panic + * [88b0c9b] mkinitramfs: Fix termination of gzip compression case + * [5438f31] scripts/functions: Drop render function + * [3c8b4c3] Remove trailing newline from debian/changelog + * [f277309] Fix (nearly) all issues found by shellcheck + * [2bab73b] Disable shellcheck for desired behaviour + * [3650731] Replace 'echo -n' by printf + * [9c0feb2] Run shellcheck on package build time + * [c9cb0a0] Add autopkgtest for shellcheck + + -- Ben Hutchings <ben@decadent.org.uk> Wed, 06 Feb 2019 20:13:59 +0000 + +initramfs-tools (0.132) unstable; urgency=medium + + * [4e1f80e] mkinitramfs: Don't try to remove nonexistent /var/cache/ldconfig + (Closes: #904065) + * [d0212d3] hook-functions: Quote exclusions in copy_modules_dir + * [8c806b4] hook-functions: Add support for compressed module files + (Closes: #891560) + * [71f5d61] mkinitramfs: Create usr-merged filesystem layout + (Closes: #874523) + * [4c0d86c] hooks/resume: Loop over all swap devices when selecting + automatically + * [312393b] hooks/resume: Reject zram swap devices when selecting + automatically (Closes: #861228) + * [c0ae42b] update-initramfs: Always take over other initramfs images + (Closes: #765750, #804295) + * [f39625a] update-initramfs: Make "-k all" take over other initramfs images + * [f273172] scripts/functions: Fix parsing of device name from ip parameter + * [abae896] scripts/functions: Merge information from BOOTIF/DEVICE and ip + parameters (Closes: #721088) + + -- Ben Hutchings <ben@decadent.org.uk> Thu, 26 Jul 2018 01:18:39 +0800 + +initramfs-tools (0.131) unstable; urgency=medium + + [ Ben Hutchings ] + * [34bf250] debian/control: Remove maximilian attems and Adam Conrad from + Uploaders field + * [5ad3976] hooks/resume: Generalise logic to replace dev name with UUID when + RESUME=auto + * [0170b7f] hooks/resume: Store /dev/mapper path for swap if possible when + RESUMEauto (Closes: #883735) + * [5bf4c29] debian/control: Point Vcs URLs to Salsa + * [e8377b3] hooks/fsck: Fix invocation of fstype at build time. + Thanks to Simon Tatham <anakin@pobox.com> (Closes: #865691) + * [492763a] docs: Convert maintainer notes to Markdown format + * [0214976] docs/maintainer-notes.md: Update references to Alioth, to Salsa + * [b71c6c9] docs/maintainer-notes.md: Delete mention of git-core package + * [89daebf] docs/maintainer-notes.md: Change BTS link to specify source + package + * [8e539dc] docs/maintainer-notes.md: Link to tracker.debian.org instead of + PTS + * [3f27197] docs/maintainer-notes.md: Remove stale link to Debian bug count + graph + * [7dece27] docs/maintainer-notes.md: Use HTTP-S for Debian wiki and popcon + links + * [838b6ec] docs/maintainer-notes.md: Link directly to Ubuntu bug list + * [eaa61d4] docs/maintainer-notes.md: Add myself as co-author + * [fa7df8f] hook-functions: Correct the comment above hidden_dep_add_modules + * [0ffbeb9] hook-functions: Remove directory information from + hidden_dep_add_modules + * [78e95c1] hook-functions: Check modules.builtin in hidden_dep_add_modules + * [976aeb9] hook-functions: Handle i8042 hidden dependency on psmouse + (Closes: #878829) + * [211e050] hook-functions: Handle nvme hidden dependency on vmd. + Thanks to Mario Limonciello <Mario.Limonciello@dell.com> (Closes: #886349) + * [28536f6] unmkinitramfs, lsinitramfs: Split multiple early initramfs + sections (Closes: #886424) + * [2a9d97d] debian/control: Add e2fsprogs to Depends for initramfs-tools-core + (Closes: #887211) + * [577c94e] initramfs.conf: Update documentation of the DEVICE variable + * [f1cbe6f] mkinitramfs: Build reproducible images when SOURCE_DATE_EPOCH is + set. Thanks to Chris Lamb <lamby@debian.org> (Closes: #845034) + * [717e6bd] mkinitramfs: Exclude ldconfig auxiliary cache from initramfs + image. Thanks to Kristian Klausen <klausenbusk@hotmail.com> + * [8bddfe4] mkinitramfs(8): Remove description of nonexistent options + * [ecd6ce2] mkinitramfs(8), hook-functions: Correct references to "ramdisk" + * [63cec7b] docs: Move initramfs-tools man page to section 7 + * [562d86e] docs: Update man page header dates + * [9bd960e] docs: Set man page header source and manual parameters correctly + * [97cc7e7] docs: Don't package maintainer documentation in + initramfs-tools-core + * [4e19a6f] docs: Remove outdated "HACKING" documentation file + * [6c02622] debian/control: Remove obsolete Breaks and Depends relations + * [749751c] debian/control: Update Standards-Version to 4.1.5 + - Set Rules-Requires-Root: no + * [db469f0] initramfs-tools: Override lintian warning "breaks-without-version + upstart" + + [ Riku Voipio ] + * [72b6419] auto_add_modules: add mfd for MODULES==most (Closes: #880584) + + [ Benjamin Drung ] + * [7ca4d0d] Add mlx4 and mlx5 InfiniBand modules to hidden_dep_add_modules + (Closes: #871595) + * [df7d7e8] Add option to clear screen at the beginning (Closes: #856929) + * [a33cb62] Fix indentation (spaces to tabs) + * [3962c4f] Fix config directory in error message (Closes: #856589) + * [be2b91c] Double quote to prevent globbing and word splitting + * [ae339ff] Make size of /run configurable (Closes: #862013) + + [ Steve Langasek ] + * [c198331] Skip dmsetup resume devices if they are randomly encrypted. + + [ Paul Menzel ] + * [e28b865] mkinitramfs: Add LZ4 support (Closes: #893845) + * [5091a5e] control: Remove suggestion of *lz4-tools* + + [ Colin Watson ] + * [b4804dd] Only sync the filesystem containing the initramfs + (Closes: #882380) (LP: #1667512) + + [ Karsten Merker ] + * [281ad9a] Include the axp20x_usb_power module in the base modules list for + MODULES=most (Closes: #866521) + + [ Ivan Kozik ] + * [54367c0] init: export DEVICE so that when configured, it is actually set + in configure_networking (Closes: #883664) + + -- Ben Hutchings <ben@decadent.org.uk> Thu, 19 Jul 2018 01:06:01 +0100 + +initramfs-tools (0.130) unstable; urgency=medium + + * [5b7c092] hooks/resume: Fix validation of resume devices specified by + UUID etc. (Closes: #861057) + + -- Ben Hutchings <ben@decadent.org.uk> Wed, 26 Apr 2017 02:00:05 +0100 + +initramfs-tools (0.129) unstable; urgency=medium + + * [71cfb7f] hooks/resume: Use correct sort options to select the biggest swap + partition + * [7da8194] initramfs.conf(5): Clean up split between general and NFS + variables + * [d857e91] Support setting of RESUME in initramfs.conf or anywhere in conf.d/ + * [786e4aa] initramfs.conf(5): Document the RESUME variable + * [7106c3e] hooks/resume: Check for chroot earlier + * [433e1ca] Allow disabling resume from disk at build time by setting + RESUME=none + * [8108a17] Support requesting automatic selection of resume device with + RESUME=auto + * [aaaa6b5] hooks/resume: Report when we might be doing something surprising + * [995b556] NEWS: Add entry explaining the need for RESUME=none on some + systems (Closes: #860403) + + -- Ben Hutchings <ben@decadent.org.uk> Mon, 24 Apr 2017 01:06:21 +0100 + +initramfs-tools (0.128) unstable; urgency=medium + + * [cd352e8] debian/control: Add Breaks against older versions of busybox + (Closes: #855094) + * [e5c68ce] Include the unmkinitramfs(8) manual page in initramfs-tools-core + * [dc22177] scripts/local: local_device_setup should not assume devices hold + file systems + * [033c948] scripts/local: Apply a single time limit to all device discovery + * [f3a61b3] scripts/local: Add option for local_device_setup to return failure + * [2be97ee] scripts/local-premount/resume: Check for kernel resume interface + earlier + * [25837a1] scripts/local-premount/resume: Use local_device_setup for resume + device (Closes: #854791) + + -- Ben Hutchings <ben@decadent.org.uk> Sat, 08 Apr 2017 21:01:30 +0100 + +initramfs-tools (0.127) unstable; urgency=medium + + * [251adae] unmkinitramfs: Don't attempt to create /main directory when + listing (Closes: #848423) + * [3714d5b] unmkinitramfs: Change mkdir/cd/cpio command sequences to exit on + failure + + -- Ben Hutchings <ben@decadent.org.uk> Mon, 23 Jan 2017 03:42:36 +0000 + +initramfs-tools (0.126) unstable; urgency=medium + + [ Ben Hutchings ] + * [0b2266e] bash-completion: Fix installation of update-initramfs completion + script. Thanks to Stephan Suerken <absurd@debian.org>. (Closes: #824385) + * [7d875ad] Revert "hook-functions: Add detached module signatures if present" + * [b0a5f26] update-initramfs, hooks/resume: Use ischroot command instead of + our own function + * [385e3fc] hook-functions: Make copy_file return 0 on creating a link to an + existing file (Closes: #847325) + * [82f4bcf] Fix initramfs.conf move to ensure default values are upgraded. + Thanks to Andreas Beckmann <anbe@debian.org> (Closes: #822671, #825929) + * [d9f77c1] Remove obsolete bash-completion file on upgrade. + Thanks to Andreas Beckmann <anbe@debian.org> + * [4a10868] Remove code that prunes 'broken' symlinks and sometimes /etc/mtab + (Closes: #845581) + * [dc2323f] auto_add_modules: Add all I2C bus and mux drivers when + MODULES=most (Closes: #825687) + * [811f408] maintainer-notes.html: Update 'git buildpackage' commands to use + gbp too + * [cd33566] maintainer-notes.html: Fix post-clean option to gbp buildpackage + * [f54d7f0] Use debhelper compatibility level 9 + * [5221375] debian/control: Update Standards-Version to 3.9.8; no changes + needed + * [c48108d] Revert "initramfs-tools: Install script to be invoked by + linux-signed postinst" + * [12744eb] unmkinitramfs: Rewrite command syntax + * [c7f241f] unmkinitramfs: Unpack early and main cpio archives in separate + directories + * [b804348] initramfs-tools: Remove obsolete linux-signed postinst script on + upgrade + + [ Michael Prokop ] + * [30dfbbd] mkinitramfs: consider *.conf files only, also from + /lib/modprobe.d/ + don't complain about empty dirs (Closes: #829280) + + [ Kevin Locke ] + * [f1f18a4] Create unmkinitramfs command + + -- Ben Hutchings <ben@decadent.org.uk> Thu, 15 Dec 2016 22:43:05 +0000 + +initramfs-tools (0.125) unstable; urgency=medium + + * [74597dd] update-initramfs: Remove $USETRIGGERS variable and condition + * [b19d13e] initramfs-tools: Install script to be invoked by linux-signed + postinst + * [79c0204] mkinitramfs: Fix wildcard for excluding dot-files + (Closes: #821346) + + -- Ben Hutchings <ben@decadent.org.uk> Sun, 17 Apr 2016 23:13:33 +0100 + +initramfs-tools (0.124) unstable; urgency=medium + + * [e05fc3e] hook-functions: Add detached module signatures if present + (Closes: #820037) + * [99dadac] hook-functions: Create ORDER files even if there are no valid + scripts (Closes: #814965) + * [57a9f2a] mkinitramfs: Exclude VCS directories when copying + /etc/initramfs-tools/scripts + * [eff1806] parse_numeric: Do not attempt to canonicalise root device name + (Closes: #815555) + * [7a820e1] auto_add_modules: Include most USB host drivers (Closes: #762634) + * [35751d4] auto_add_modules: Include all bus driver modules + + -- Ben Hutchings <ben@decadent.org.uk> Sun, 17 Apr 2016 01:56:13 +0100 + +initramfs-tools (0.123) unstable; urgency=medium + + [ Ben Hutchings ] + * [3084929] debian/control: Remove redundant dependency on + klibc-utils|busybox + * [913a861] debian/control: Recommend the right busybox packages for the + target distribution + * [d4febbd] Remove busybox hook in favour of busybox's own (Closes: #810154) + * [b5303a1] Update TODO for removal of busybox hook + * [6cc3d85] hook-functions: Include any modular RTC drivers in the initramfs + * [ceff05e] hooks/fsck: Stop setting e2fsck broken_system_clock option + (Closes: #804071) + * [9c105f0] Assume blkid is always installed, and remove fallbacks + * [aaba4cb] hooks/fsck: Use get_fstype rather than blkid to probe filesystem + type + * [a8ed874] hooks/fsck: Always use get_fstype to probe type of root + filesystem (Closes: #767471) + * [e798629] Pass filesystem type from /etc/fstab to fsck when checking /usr + * [55e075c] hook-functions: Include drivers for all keyboards when + MODULES=dep (Closes: #639876) + * [704bfa5] scripts/functions: Explicitly load keyboard drivers only at + break=top + * [c5b54ae] scripts/functions: Use more sensible modprobe options at + break=top + * [39e90c8] scripts/functions: Load more USB host controllers drivers on + break=top + * [8c437f5] scripts/functions: Load HID drivers at break=top + * [619f2ca] scripts/functions: Connect panic shell to normal tty device + (Closes: #512679) + * [8b8b28c] hook-functions: Clean up split between dep_add_modules and + dep_add_modules_mount + * [5f34b94] hook-functions: Include modules for resume partition when + MODULES=dep (Closes: #588770) + * [31ab487] hook-functions: Stop force-loading drivers found through sysfs + when MODULES=dep (Closes: #792910) + * [07f2c88] kernel/postinst.d: Make test for update-initramfs consistent with + invocation (Closes: #768913) + * [e5476bf] copy_file: Skip duplicating symlink if it points to the target + file (Closes: #812404) + * [d0f4d06] initramfs-tools: Include empty /etc/initramfs-tools/conf.d + directory (Closes: #809206) + * [245d584] initramfs-tools.8: Update list of variables exported to hook + scripts + * [941429d] initramfs-tools.8: Add a new section for the general description + of scripts + * [3ff5d57] initramfs-tools.8: Add brief description of configuration hooks + and files (Closes: #807527) + * [c17a21a] Remove klibc hook in favour of klibc's own + * [ea7e02d] bash-completion: Simplify by using _get_comp_words_by_ref + * [9e23444] init: Use "case" rather than loop to look for "quiet" parameter + * [49e4a05] init: Remove fallback from devtmpfs to tmpfs + * [ab91306] init: Take over handling of rootdelay parameter from udev boot + script (Closes: #809740) + * [56dfe39] bash-completion: Rename our completion script so that it works + again + * [ac6d31f] mkinitramfs: Delete or report temporary files on failure + (Closes: #814345) + * [c8c932d] Move initramfs.conf around in maintainer scripts to avoid it + being 'obsolete' (Closes: #813229) + * [138af73] hook-functions: Dereference links when looking up block device + number + + [ Andy Whitcroft ] + * [7774fa3] Don't display "Loading, please wait..." message when 'quiet' is + in /proc/cmdline. + * [c4ea209] Mount /dev with the default tmpfs size rather than sourcing + udev.conf. + * [b418ad4] Sync the mount options for /run from /lib/init/fstab + (LP: #1152744) + * [c44df0c] init: Mount /dev with "nosuid". Thanks to Daniel (LP: #1450960) + + -- Ben Hutchings <ben@decadent.org.uk> Thu, 11 Feb 2016 02:13:23 +0000 + +initramfs-tools (0.122) unstable; urgency=medium + + * [4fa3fe4] init: Validate the real init after devtmpfs is mounted under the + real root (Closes: #811479) + + -- Ben Hutchings <ben@decadent.org.uk> Tue, 19 Jan 2016 22:39:40 +0000 + +initramfs-tools (0.121) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * [19422ac] debian/NEWS: Fix typo in reference to initramfs.conf configuration + file + + [ Ben Hutchings ] + * [bf445db] Restore automatic selection between busybox and klibc by default + (Closes: #809204) + * [4251397] init: Always mount /usr before looking for the real init + * [c6d067c] init: Remove use of switch_root + * [3c8b67c] init: Use run-init -n option to validate real init + (Closes: #810965) + * [40f2132] scripts/functions: Fix fsck display options (Closes: #781239) + + -- Ben Hutchings <ben@decadent.org.uk> Mon, 18 Jan 2016 17:43:22 +0000 + +initramfs-tools (0.121~rc2) experimental; urgency=medium + + * Upload to experimental, not unstable + + -- Ben Hutchings <ben@decadent.org.uk> Tue, 22 Dec 2015 22:07:42 +0000 + +initramfs-tools (0.121~rc1) unstable; urgency=medium + + [ Ben Hutchings ] + * [da2159f] Add .gitignore files to exclude generated and backup files + * [8ad7317] bash-completion: Install using dh_bash-completion + * [31d21d6] Rename lintian override file so dh_lintian installs it + automatically + * [9d45599] debian/control: Update and shorten description + * [2bf8c27] Split initramfs-tools binary packages into core and automation + hooks + * [6562e1b] debian/control,debian/copyright: Use canonical HTTP-S URLs for + Alioth git repos + * [76dab5a] hook-functions: Include soft-dependencies of all kernel modules + (Closes: #588452) + * [7285ffb] hooks/busybox: Fail if busybox is wanted but not found + (Closes: #785564) + * [852b9ab] scripts/functions: Use shell to create stamp file instead of + 'touch' (Closes: #783291) + * [9aea31d] sripts/local: Remove obsolete hint about ATA device renaming + * [e0c8d03] hook-functions: Always use /proc/mounts, avoiding mangling of + /dev/root (Closes: #766920) + * [728f534] hook-functions: Fold sys_walk_modalias into sys_walk_mod_add + * [d122ab6] hook-functions: Split block device sysfs lookup into a separate + function + * [aff5209] hook-functions: Remove loop-aes support + * [3cb744c] hook-functions: Rewrite block device sysfs lookup to be generic + (Closes: #747871, #785147, #807004, #807256) + * [8ac52dc] hook-functions: Include modules for all components of a + multi-disk device (Closes: #620814) + * [c69313d] parse_numeric: Tighten check for whether 'root' parameter is a + number (Closes: #697017) + * [8062189] parse_numeric: Add support for 20-bit minor numbers in 'root' + parameter + * [88f98b5] parse_numeric: Replace numeric root with canonical device name + * [28e5a0a] update-initramfs: Use linux-version command to sort versions + (Closes: #770394, #795837) + * [4b4e578] lsinitramfs.8: Update the BUGS section to note fix for #717805 + (Closes: #790095) + * [fa82bf1] hooks/fsck: Stop copying sulogin, which is no longer used + * [95beada] Only run fsck if enabled in /etc/fstab (pass != 0) + (Closes: #797361) + * [371221b] hooks/fsck: Use 'command' to find fsck.<type> (Closes: #784234) + * [e352b94] scripts/functions: Use blkid to resolve LABEL= and UUID= block + device IDs + * [7469eee] scripts/functions: Handle PARTLABEL= and PARTUUID= block device + IDs using blkid (Closes: #801154) + * [fe30453] hook-functions: Include drivers/nvme in block driver modules + (Closes: #807000) + * [fa1985b] update-initramfs: Run 'sync' after writing the initramfs + (Closes: #783620) + * [6a40a89] hook-functions: Introduce copy_file function + * [a7fc630] Use copy_file to copy config files and firmware, instead of + copy_exec + * [52ae50c] hook-functions: Use copy_file to install modules + * [b215c18] Support multiple break points using a comma delimiter + (Closes: #795832) + * [b2dfbeb] Set emacs local variables to implement our shell coding style + * [b1dc049] hook-functions: Preserve symlinks when copying files + (Closes: #799443) + * [319b141] hooks/fsck: Simplify by letting copy_exec handle symlinks + * [143b9ef] maintainer-notes.html: Update changelog command lines to use + 'gbp dch' + * [f01cdd4] debian/control: Ensure lockstep upgrade of initramfs-tools and + -core + * [88f7bb6] debian/TODO: Update for released and pending changes + * [d136f22] scripts/local: Remove residual support for separate /etc + filesystem + * [14913b2] scripts/local: Name parameters to local_device_setup + * [3080087] Defer resolving block device IDs to local_device_setup + * [3574b56] scripts/functions: Stop resolving symlinks in resolve_device + (Closes: #791754) + + [ Laurent Bigonville ] + * [27405fc] Support fsck.mode= and fsck.repair= parameters as known by + systemd-fsck (Closes: #783410, #792557) + * [8a2f298] Run new panic scripts just before dropping to a shell + (Closes: #602331) + + [ Boris Egorov ] + * [c14d661] mkinitramfs: fix bashism in script (Closes: #633582) + + [ Salvatore Bonaccorso ] + * [f78c9a9] scripts/nfs: Check return value from nfs_mount_root_impl + (Closes: #782641) + + [ Roger Shimizu ] + * [50aa8e2] advance the timing of insmod netconsole + * [3acddcc] redirect debug info to netconsole (Closes: #793786) + + [ Andy Whitcroft ] + * [4ba741b] Add 2>&1 to the run-init line (Closes: #795831) + * [1f5c193] When adding i8042 also add psmouse as some keyboards are behind + the mouse (Closes: #795839) + + [ Roger Leigh ] + * [6a8d18b] init: Always migrate /run to the rootfs (Closes: #696632) + + -- Ben Hutchings <ben@decadent.org.uk> Tue, 22 Dec 2015 21:56:40 +0000 + +initramfs-tools (0.120) unstable; urgency=medium + + * [23ee5f9] Add '.log' to fsck log output file, and document its existence + (Closes: #780352) + * [b87e34b] Remove old comment about running shell on failure of fsck + * [864c04b] Create stamp files to tell the real init system fsck was + successful (Closes: #782481) + * [f54fe54] NEWS: Improve wording of the entry about mdadm's INITRDSTART + setting + * [25ab961] NEWS: Add entries about other ways of mounting /usr that won't + work + + -- Ben Hutchings <ben@decadent.org.uk> Mon, 13 Apr 2015 01:18:06 +0100 + +initramfs-tools (0.119) unstable; urgency=medium + + The "Wait smarter not harder" release + + [ Ben Hutchings ] + * [bf238f6] Always generate ORDER files in mkinitramfs (Closes: #688794) + * [8529550] Move get_source, set_initlist, get_prereq_pairs, call_scripts to + hook-functions + * [6ba2e93] hook-functions: Add modules for various important device types + (Closes: #762042) + * [9c8bde8] mkinitramfs.8: Update default temporary directory + (Closes: #764388) + * [1bd461e] initramfs-tools.8: Refer to lsinitramfs rather than suggesting + gunzip | cpio (Closes: #764022) + * [64d39d0] Add comment to /usr/share/initramfs-tools/modules that it is not + a config file (Closes: #752789) + * [4f1414b] initramfs-tools.8: Improve documentation of break parameter. + Thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #707583) + * [a5fbfb8] update-initramfs: Fix error message in case of excess arguments + (Closes: #627547) + * [738678f] initramfs.conf.5: Update configuration directory (Closes: #759552) + * [3862d9b] update-initramfs: Consistently show which options take arguments + (Closes: #762768) + * [35bdb74] Refer to lsinitramfs(8) from {initramfs-tools,mkinitramfs, + update-initramfs}(8) (Closes: #764020) + * [cf9691d] mkinitramfs: Use default xz compression level rather than -8 + (Closes: #697335) + * [10ebca7] mkinitramfs: Improve warning text when missing modules. + Thanks to Trent W. Buck <trentbuck@gmail.com> (Closes: #744836) + * [540dcb6] initramfs-tools.8: Refer to 'phase' rather than 'stage' of + initramfs execution + * [c7a3b31] initramfs-tools.8: Briefly document the kernel hooks + * [274f945] hooks/fsck: Remove dependency on hwclock by disabling e2fsck time + check + * [1780a66] checkfs: Continue unless fsck reports uncorrectable errors + (Closes: #765614) + * [e5526cd] checkfs: Correct error messages and emergency shell in case of + failure + * [9daea18] hooks/fsck: Fix type lookup for mount by UUID or label with + type=auto (Closes: #766448) + * [2b1d834] dep_add_modules: Add modules needed for /usr device + * [a164229] NEWS: Begin a NEWS entry for the fsck and /usr-mount changes + * [2bbe817] NEWS: Document the possible need to update mdadm INITRDSTART + (Closes: #771301) + * [884a518] control: Ensure cryptsetup is upgraded to support mounting /usr + * [7b4635c] Allow passing arguments to hooks and scripts + * [2e2f753] local: Call local-block boot scripts to prepare additional block + devices + * [3a1db85] control: Add versioned Breaks on lvm2 without a local-block boot + script (Closes: #762984) + * [d4e5601] local: Invoke local-block scripts from the loop in + local_device_setup (Closes: #678696) + * [8402332] local: Use max(30, rootdelay) as timeout for block device to + appear + * [adfa0f6] NEWS: Add an entry about e2fsck behaviour with RTC set to local + time + + [ Bastian Blank ] + * [9bc3a78] hook-functions: Add xhci-pci to module list (Closes: #773250) + + -- Ben Hutchings <ben@decadent.org.uk> Sun, 01 Mar 2015 23:58:49 +0000 + +initramfs-tools (0.118) unstable; urgency=medium + + [ Ben Hutchings ] + * [70e371f] manual_add_modules: Set the kernel version when checking module + firmware deps + * [fdec1d3] lsinitramfs: Move the decompress | cpio pipeline into a function + * [d5f4cd6] lsinitramfs: Parse and list files that include early microcode. + Thanks to Brett Parker and Olivier Berger. (Closes: #717805) + * [f868c43] lsinitramfs: Include -l option in usage message + * [f4c512e] Add more sanity checks on root device name in dep_add_modules + * [d58a65b] Support MODULES=dep usage when root was mounted from hidden + /dev/root (Closes: #689942) + * [ebf275a] Check for root device's module dependencies at all levels of + device hierarchy + * [52abbfb] init: Decide what the real init is immediately before mounting + /usr + * [25aa264] init: Fix validation of the real init program + * [66a141e] init: Resolve both absolute and relative symlinks in + validate_init + * [042d7a3] init: Only mount /usr if the real init is systemd + (Closes: #763157) + * [d641934] debian/control: Add Breaks: systemd-sysv (<< 186) + * [305489e] debian/control: Conflict with linux-initramfs-tool + (Closes: #729800) + * [fd83e8b] panic: Do not return if reboot fails + * [c0579f5] hooks/fsck: Add hwclock, related configuration files and udev + rules (Closes: #763777) + * [a7bd088] debian/control: Add versioned Depends on util-linux to avoid + adjusting clock twice + * [6ae39eb] debian/control: Fix minimum version of util-linux + * [67e53ea] init: Set and export PATH before running any external commands + * [8ebce59] Require new klibc-utils or busybox, to get 'readlink -f' and + 'mount -o defaults' (Closes: #762870) + + [ nandhp ] + * [782d166] Fix handling of root filesystem with LABEL=/ + (/dev/disk/by-label/\x2f) (Closes: #756457) + + -- Ben Hutchings <ben@decadent.org.uk> Sat, 04 Oct 2014 17:19:10 +0100 + +initramfs-tools (0.117) unstable; urgency=medium + + [ Roger Leigh ] + * Generalise logic used for mounting the rootfs: + - The existing logic was only intended for mounting the root + filesystem; this logic has been refactored to support the + mounting of multiple filesystems + - Add a read_fstab_entry function to parse /etc/fstab on the + mounted rootfs + - Add resolve_device function which generalises the existing + support for resolving LABEL= and UUID= strings to the + corresponding device node + - Add general mount_top, mount_premount and mount_bottom functions, + with boot-script-specific variants for the local and nfs scripts; + other boot scripts should override them if needed; the local and + nfs scripts show how to use these to redirect to a specific + implementation + - Add general mountfs function to mount a filesystem from the + /etc/fstab on the mounted rootfs. This works for both local and + nfs mounts; other boot scripts may override it to provide more + specialised functionality + - The local and nfs bottom scripts are run on demand if used; this + does not interfere with alternative boot scripts being used, + which will run first + - Canonicalise device names to match util-linux mount behaviour; + this ensures that "mount -a" in mountall does not try to mount + /usr a second time (which it will attempt if the mounted device + does not match the canonical device name) + * Mount /usr if present in the /etc/fstab on the mounted rootfs + (Closes: #652459) + * Check filesystems prior to mounting (Closes: #708000): + - Add empty /etc/fstab and symlink /etc/mtab to /proc/mounts; + not essential, but quell a number of fsck warnings + - Copy fsck and needed fsck helpers, plus logsave + - Add checkfs function, based on the initscripts checkroot + script + - local mount functions will call checkfs prior to mounting + the filesystem + + [ Michael Prokop ] + * [3298dea] Bump Standards-Version to 3.9.6 + * [a12d5ed] hooks/fsck: fall back to blkid, make sure fsck binary exists + + install /sbin/sulogin + + -- Michael Prokop <mika@debian.org> Thu, 25 Sep 2014 10:49:26 +0200 + +initramfs-tools (0.116) unstable; urgency=medium + + The "DebConf14" release + + [ Helge Deller ] + * [cee3e18] get_fstype: initialize FSTYPE variable (Closes: #745731) + + [ maximilian attems ] + * [7bc24f8] scripts/nfs: fix nfs mount check for possible init symlink + (Closes: #750360) + + [ Aurelien Jarno ] + * [2e325a2] hook-functions: add support for virtio-mmio + (Closes: #751143) + + [ Michael Prokop ] + * [4c0338a] Fix hidden dependency issue with btrfs and crc32c. Thanks to + Markus Wanner <markus@bluegap.ch> for the analysis and patch + (Closes: #748805) + * [2290173] Do not spawn shell when panic=... is used. Thanks to Lukas + Anzinger <l.anzinger@gmail.com> for the analysis and patch + (Closes: #751488) + * [0e914d0] Preserve file permissions if root builds the initramfs + images. Thanks to Harald Hoyer <harald@redhat.com> for providing the + patch in dracut (Closes: #633582) + * [39d0561] Support drop_capabilities=... boot option. Thanks to Kees + Cook <kees@debian.org> for the patch (Closes: #679436) + * [3d6fe1e] Support MODULES=dep usage on i2o hardware RAID controller. + Thanks to Stephen Powell <zlinuxman@wowway.com> for the patch + (Closes: #689558) + * [a5126cf] Support usage of partitioned nbd devices with MODULES=dep. + Thanks to Ian Campbell <ijc@hellion.org.uk> for the patch + (Closes: #697368) + * [ebeffcd] Inform user that lsinitramfs doesn't support cpio archives + yet. Thanks to Javier Barroso <javibarroso@gmail.com> for the initial + patch + * [ad7ab64] Bump Standards-Version to 3.9.5 + + -- Michael Prokop <mika@debian.org> Sun, 31 Aug 2014 00:12:42 -0700 + +initramfs-tools (0.115) unstable; urgency=low + + [ Nikolaus Schulz ] + * [736200b] hooks/resume: fix validation of $RESUME in config file + (Closes: #724554) + + [ Matto Marjanovic ] + * [b4fc5de] hooks/function: More solide ip= option parsing (Closes: + #724644) + + [ maximilian attems ] + * [9f7bb9c] init: support UUID for resume bootarg + + [ Michael Prokop ] + * [9da5948] Add ohci-pci to base modules (Closes: #726957) + + -- Michael Prokop <mika@debian.org> Mon, 04 Nov 2013 10:10:23 +0100 + +initramfs-tools (0.114) unstable; urgency=low + + [ Ian Campbell ] + * [90f4cdb] include ehci-orion in auto_add_modules_list (Closes: #721519) + + [ maximilian attems ] + * [fef37d5] hooks: Add resume hook instead of hardcoding RESUME once on + preinst (Closes: #565225, LP 50437) + * [5550692] hooks/resume: First check if a valid RESUME config is set + * [e268df7] initramfs-tools.8: Document new resume handling + * [6f0396a] hooks/klibc: Check for existence of klibc dash instead of + executable property (Closes: #707040) + * [9c823ad] mkinitramfs: check if initramfs has a shell + * [6ad0985] hooks/resume: Fix function call + * Update to latest standards version 3.9.4. + + -- maximilian attems <maks@debian.org> Sun, 22 Sep 2013 21:04:19 +0200 + +initramfs-tools (0.113) unstable; urgency=low + + [ Henrique de Moraes Holschuh ] + * [f59e716] implement early initramfs support (Closes: #712521) + * [b8295f0] lsinitramfs(8): document failure to deal with early + initramfs + + -- Michael Prokop <mika@debian.org> Tue, 18 Jun 2013 09:32:58 +0200 + +initramfs-tools (0.112) unstable; urgency=low + + * Add myself to Uploaders + * Upload to unstable following 'wheezy' release + + -- Ben Hutchings <ben@decadent.org.uk> Mon, 06 May 2013 01:55:25 +0100 + +initramfs-tools (0.111) experimental; urgency=low + + [ Ben Hutchings ] + * [450783a] hook-functions: Include more HID drivers in base + (Closes: #697619) + * [849dab7] hook-functions: Exclude more unnecessary net drivers + + -- Michael Prokop <mika@debian.org> Tue, 23 Apr 2013 22:38:48 +0200 + +initramfs-tools (0.110) experimental; urgency=low + + [ Michael Prokop ] + * [3b2cca3] Install nfsv{2,3,4} kernel modules as used by Kernels >=3.6. + Thanks to Julien Cristau <jcristau@debian.org> for the hint regarding + the split + * [38d3060] include ehci-pci in auto_add_modules list. Thanks to Bjørn + Mork <bjorn@mork.no> for bug report + patch (Closes: #700572) + + [ Ben Hutchings ] + * [70a3225] Remove '2.6.' from initramfs wildcard in bug script + (Closes: #697319) + * [5c78aa9] Remove more references to linux-2.6 in manual page and + comments + + -- Michael Prokop <mika@debian.org> Fri, 01 Mar 2013 11:47:21 +0100 + +initramfs-tools (0.109) unstable; urgency=low + + * keymap hook: provide warning message if loadkeys/setupcon are not + available. Thanks to Raphael Hertzog <hertzog@debian.org> for the + feedback (Closes: #689336) + + -- Michael Prokop <mika@debian.org> Sat, 06 Oct 2012 00:43:00 +0200 + +initramfs-tools (0.108) unstable; urgency=low + + [ maximilian attems ] + * [a8420de] hook-functions: add hid-generic module (Closes: #682340) + * [9723143] debian/control: Scratch 2.6 mention + + [ Petr Baudis ] + * [1d6b272] initramfs-tools: allow disabling initrd for make deb-pkg + (Closes: #664171) + + [ Michael Prokop ] + * [0ffc800] Use setupcon to install system's keymap. Thanks to + Andreas Altergott <andreasaltergott@googlemail.com> for the initial + patch. Thanks to Raphaël Hertzog <hertzog@debian.org> for testing, + feedback and review. (Closes: #619711) + + -- Michael Prokop <mika@debian.org> Fri, 21 Sep 2012 12:10:28 +0200 + +initramfs-tools (0.107) unstable; urgency=low + + [ Michal Suchanek ] + * initramfs-tools: copy_exec quote ${src} + * initramfs-tools: copy_exec add pattern for nonoptimized multiarch + libraries (Closes: #659752) + + [ Vagrant Cascadian ] + * initramfs-tools Don't override root=/dev/nfs by BOOT=local config + (Closes: #677157) + + [ Adam Conrad ] + * hooks/klibc: Make us play more nicely with busybox and static bin/sh + (Closes: #638068) + * Kernel versions aren't (necessarily) package versions, so redirect + the whining from dpkg --compare-versions to /dev/null to avoid scary + (and incorrect) warnings. (LP: #889584) + + -- Adam Conrad <adconrad@0c3.net> Mon, 09 Jul 2012 11:07:21 -0600 + +initramfs-tools (0.106) unstable; urgency=high + + [ Josh Triplett ] + * [67d4cec] initramfs-tools: Make manual_add_modules a no-op with no + arguments (Closes: 676439) + + -- Michael Prokop <mika@debian.org> Thu, 07 Jun 2012 14:40:24 +0200 + +initramfs-tools (0.105) unstable; urgency=high + + [ Thomas Lange ] + * [c52544d] initramfs-tools: kernel script check for update-initramfs + executuable. (Closes: #669345) + + [ maximilian attems ] + * [44b93e0] initramfs-tools: guard too kernel postrm script. + + [ Josh Triplett ] + * [95d8e7a] initramfs-tools: fix update-initramfs with modprobe options. + (Closes: #676400) + + -- maximilian attems <maks@debian.org> Wed, 06 Jun 2012 22:38:38 +0200 + +initramfs-tools (0.104) unstable; urgency=high + + [ Michael Prokop ] + * [9e961c6] docs: clarify that PREREQ is only honored inside single directory. + Thanks to Marc Haber <mh+debian-bugs@zugschlus.de> for spotting thjs issue + (Closes: #601324) + + [ maximilian attems ] + * [b60b440] debian/control: Depend on kmod or m-i-t. + * [f87e71b] hook-functions: handle rootfs output from mount(8). + (Closes: #668616) + * [042c5c9] init: tighten /run/initramfs permissions. (Closes: #655175) + * [df4ffdf] scripts/functions: panic() don't abort on modprobe failures. + (Closes: #674484) + + [ Vagrant Cascadian ] + * [ddbdb4f] init: busybox's switch_root doesn't handle /proc or /sys moving. + (Closes: #660297) + + [ Balwinder S Dheeman ] + * [3ff8ee6] init: fixes ignored $tmpfs_size. (Closes: #670496) + + [ Josh Triplett ] + * [2c5c942] initramfs-tools: speed-up by avoiding forks in the per-module + hot path. (Closes: #652525) + + -- maximilian attems <maks@debian.org> Wed, 06 Jun 2012 14:48:26 +0200 + +initramfs-tools (0.103) unstable; urgency=low + + * [3fd3568] configure_networking: Use /run path for ipconfig generated + script. + * [886abf0] debian/control: Depend on newer klibc-utils for /run path. + + -- maximilian attems <maks@debian.org> Thu, 31 May 2012 15:57:37 +0200 + +initramfs-tools (0.102) unstable; urgency=low + + * [da64d1a] Deal with the uniquely broken situation of armhf having + two linkers by creating both if we find either one in the target + * [2f988c4] Add myself to uploaders and release + + -- Adam Conrad <adconrad@0c3.net> Tue, 17 Apr 2012 17:43:08 -0600 + +initramfs-tools (0.101) unstable; urgency=low + + Release "inbox zero ☕" + + [ maximilian attems ] + * [9b2a4c4] hook-functions: ext4dev is gone + * [48c77ac] debian/control: Get rid of old findutils versioned depends + * [7cccc87] update-initramfs: Don't call flash-kernel directly + + [ Ben Hutchings ] + * [71ece14] mkinitramfs: Copy modules.builtin into initramfs + (Closes: #659866) + + [ Vadim Solomin ] + * [523ec93] initramfs-tools: Add per default missing hid-logitech-dj + (Closes: #658029) + + [ Michael Prokop ] + * [18a5b5e] Bump Standards-Version to 3.9.3 + + -- Michael Prokop <mika@debian.org> Tue, 06 Mar 2012 13:54:27 +0100 + +initramfs-tools (0.100) unstable; urgency=low + + Release "singing in the snow ☃☃☃" + + [ Michael Prokop ] + * [16280bb] lsinitramfs: support xz/lzma, bzip2 and lzop as compress + methods. (Closes: #586381) + * [ee16a4e] set_initlist: redirect warning messages to stderr. + (Closes: #601319) + * [af110e0] Alternate Recommends on busybox-static (Closes: #639902, + #454665) + * [b61413d] warn user if directory is present in confdir + (Closes: #610462) + + [ maximilian attems ] + * [5409ca7] manual_add_modules: No longer add firmware.agent too. + (Closes: #566401) + * [4f98b0b] mkinitramfs: Use version comparison for xz or other + compression tools (Closes: #624702) + * [d479b47] initramfs-tools: rephrase description + * [07c822f] mkinitramfs: Check if TMPDIR is writable + * [b9ff58c] mkinitramfs: Use /var/tmp rather then /tmp for space reasons + * [bd3c5d8] Revert "Revert "mkinitramfs: Nuke MIN_VERSION handling."" + * [313db4c] MODULES=dep: Use /sys again to decide for libata or ide + (Closes: #607888) + * [9bec96f] debian/control: Drop versioned depend on pre-Etch udev + version + * [02ea666] debian/control: Tighten dep on klibc-utils 1.5.23-2 + * [5c68e6e] init: Prepare for switch_root(8) usage + * [5e1f500] update-initramfs: Cleanup nowadays unused run_lilo() + * [b0d14a0] update-initramfs: run_bootloader() hooks on create too + * [8d0ffcb] preinst: get rid of awk usage (Closes: #589963) + + [ Timo Juhani Lindfors ] + * [63932cc] panic(): print the name of each module before loading it + * [cd1981e] panic: Load modules for highly probable USB keyboard + (Closes: #615831) + + [ Martin Pitt ] + * [b1530ee] hooks/busybox: Fix 2.99 busybox breakage (Closes: #628374) + + [ Alkis Georgopoulos ] + * [b938c7e] configure_networking() wait for udev to populate available + nics (LP: #682445) + + [ Harald Hoyer ] + * [9249db6] MODULES=dep: awk free version for root dev search + + [ Sven Joachim ] + * [717397c] copy_exec: Handle optimized libraries under multiarch paths + (Closes: #636495) + + [ Colin Watson ] + * [6cf2bd7] mark Multi-Arch: foreign (Closes: #649399) + + -- Michael Prokop <mika@debian.org> Tue, 14 Feb 2012 14:42:23 +0100 + +initramfs-tools (0.99) unstable; urgency=low + + Release "scarpe rotte e pur bisogna andar" + + [ maximilian attems ] + * [ce45cd0] update-initramfs: Show the mkinitramfs on error message. + * [5b84e5b] maintainer-notes.html: Fix email to send patches to. + * [ec6a77f] doc: s/ressources/resources/ + * [3c717fa] initramfs-tools: preinst use blkid for uuid generation if around. + (Closes: #609964) + * [8e2ffcd] postinst cleanup very old dpkg trigger comparison. + * [78cdb26] mkinitramfs: Add support for xz compression. (closes: #626446) + * [f5b8347] hook-functions: Cleanup ref to ide-disk. + * [6cab0ec] initramfs-tools: cleanup any usplash traces. (closes: #620924) + * [08d4895] initramfs-tools: Remove mkinitramfs-kpkg. + (Closes: #454934, #502792) + * [0ed6376] initramfs-tools: add hid_sunplus to listed keyboard drivers. + * [5f53d3b] init: load netconsole after loading network drivers. + Thanks Ferenc Wagner <wferi@niif.hu> (Closes: #596742) + * [7ff2998] debian/copyright: Update authorlist and year attribution. + * [e789cdd] maintainer-notes: Use git dch --multimaint-merge on examples. + * [17296ff] dep_add_modules: Use hidden_dep_add_modules for ubifs. + * [3d44bfb] hidden_dep_add: Use mika's variadic function from $2 on. + * [8f8299d] mkinitramfs: copy over on build instead of using symlink tree. + (Closes: #338405, #506540) + * [f5afa6a] mkinitramfs: Add lib search path + run full ldconfig in + initramfs. (Closes: #612633, #619670) + * [259ad09] mkinitramfs: creat /run initramfs directory. + * [5add333] initramfs-tools: init mount /run tmpfs. + * [74109b9] init: No need to touch /dev/.initramfs. + * [8e7620a] hook-functions: xhci-hcd got renamed. (Closes: #625224) + Thanks to Matthew Wilcox <willy@linux.intel.com> + + [ Tim Small ] + * [1fe9f78] Add Documentation for modules=list in initramfs.conf(5). + (Closes: #603903) + + [ Ben Hutchings ] + * [c018886] kernel hooks: Treat missing version argument as an error. + * [58ee42c] kernel hooks: Enable error-exit (sh -e). + * [7866542] update-initramfs: Depend on kernel hook scripts rather than + $ramdisk invocation. + * [43fe8e6] update-initramfs: Remove support for 'do_bootloader' and + specific boot loaders. (closes: #594189) + + [ Gianluigi Tiesi ] + * [9c25269] mkinitramfs: misleading message in verbose mode. + (Closes: #611046) + + [ Timo Juhani Lindfors ] + * [871ffe7] initramfs-tools: Make panic message visible even if panic= + is used. + * [2525b00] initramfs-tools: Inform the user about reboot on panic=. + + [ Michael Prokop ] + * [465a5f1] hidden_dep_add_modules(): make it dynamically to support more + than 3 arguments as well. + * [3323930] Use --check=crc32 option for xz compression. + Thanks to Ulrich Dangel <mru@grml.org> + * [bedf1e3] Use -8 for compression with xz. + * [adce374] docs: fix wording ("allows *one* to") to make lintian happy. + * [ecbc54a] Bump Standards-Version to 3.9.2. + + [ Evan Broder ] + * [ad1a594] initramfs-tools: Fix handling of numeric root= arguments to be + udev-friendly. (Closes: #501969, #606806) + + [ Christian Hofstaedtler ] + * [e34eca4] init: move /proc after moving other filesystems. + + [ Roger Leigh ] + * [10990ab] init: Preserve state on old boxes without /run on rootfs. + * [4d08c2e] init: sync mount options with the defaults in initscripts. + (Closes: #621803) + * [20c43ce] init: Don't use "none" as a mount fsname (Closes: #603858) + + [ Michael Tokarev ] + * [ec83abd] mkinitramfs: No need to warn about md-root busybox dep. + + -- maximilian attems <maks@debian.org> Wed, 11 May 2011 23:38:18 +0200 + +initramfs-tools (0.98.8) unstable; urgency=high + + [ maximilian attems ] + * [67c1d32] initramfs-tools: MODULES=dep fix for ubifs / + (Closes: #608339) + * [ca4d08a] mkinitramfs: Fix noexec /tmp detection for long device + names. (Closes: #608865) Thanks to Ian Campbell <ijc@hellion.org.uk> + + [ Ben Hutchings ] + * [78d9e04] initramfs-tools: Handle hidden dependency of libcrc32c on + crc32c. (Closes: #608538) + + -- maximilian attems <maks@debian.org> Fri, 28 Jan 2011 15:11:10 +0100 + +initramfs-tools (0.98.7) unstable; urgency=high + + [ Aad dame ] + * [1caecd2] initramfs-tools: Fix MODULES=dep on an AOE device. + (Closes: #607509) + + [ maximilian attems ] + * [78337a4] MODULES=dep Fix partitioned raid setup (Closes: #605824) + + -- maximilian attems <maks@debian.org> Mon, 20 Dec 2010 12:56:01 +0100 + +initramfs-tools (0.98.6) unstable; urgency=high + + [ Milan Kupcevic ] + * [dd40f3a] initramfs-tools: Load PowerMac G5 thermal modules. + (Closes: #603981) + + [ maximilian attems ] + * [c103d08] initramfs-tools: cryptsetup Lenny dist upgrade fix. + (Closes: #607090) + + [ Ben Hutchings ] + * [1e46a47] Fix condition for adding IDE or SCSI disk driver when + MODULES=dep + + -- maximilian attems <maks@debian.org> Thu, 16 Dec 2010 14:45:29 +0100 + +initramfs-tools (0.98.5) unstable; urgency=high + + [ maximilian attems ] + * [6b6cbe0] mkininitramfs: MODULES=dep fallback to /proc/mounts for + rootdev (Closes: #600453) + * [f3b696b] Small enhancements to Maintainer docs. + + [ Marc Herbert ] + * [478ba89] Minor documentation fix in /etc/initramfs-tools/modules. + (LP: #177263) + + -- maximilian attems <maks@debian.org> Thu, 21 Oct 2010 13:53:17 +0200 + +initramfs-tools (0.98.4) unstable; urgency=high + + * [bfb0742] reportbug: list force loaded modules. + * [a103aea] hooks/thermal: Add windfarm_pm121 for powerpc on initramfs. + * [1c64a45] initramfs-tools.8: udev gets loaded earlier. + (Closes: #596984) + + -- maximilian attems <maks@debian.org> Sat, 25 Sep 2010 20:25:30 +0200 + +initramfs-tools (0.98.3) unstable; urgency=high + + * [365e06b] Ubuntu merge: Conflict with older versions of usplash. + + -- maximilian attems <maks@debian.org> Fri, 10 Sep 2010 09:40:10 +0200 + +initramfs-tools (0.98.2) unstable; urgency=high + + [ Eckhart Wörner ] + * [97f20c5] initramfs-tools: Add hid-cherry and hid-logitech to + initramfs (Closes: #595827) + + -- maximilian attems <maks@debian.org> Tue, 07 Sep 2010 12:54:01 +0200 + +initramfs-tools (0.98.1) unstable; urgency=high + + [ Vagrant Cascadian ] + * [85fbb23] configure_networking(): Look for presence of + /tmp/net-*.conf files to not recall ipconfig. (Closes: #584583) + + -- maximilian attems <maks@debian.org> Wed, 25 Aug 2010 22:13:18 +0200 + +initramfs-tools (0.98) unstable; urgency=low + + [ Michael Prokop ] + * [7faeb32] fix typos in manpage, scripts/functions and + conf/initramfs.conf - thanks lintian + * [f1360c9] debian/NEWS: drop asterisk chars to make lintian happy + * [c4a1981] install doc-base file for doc-base-registration + * [f813bd9] add debian/source/format with "3.0 (native)" to make + lintian happy + * [38ee1a0] maintainer-notes: document "git remote prune origin" - + thanks to maximilian attems <maks@debian.org> + * [2390db8] maintainer-notes: use git config instead of environment + variables - thanks to Gerfried Fuchs <rhonda@deb.at> + * [c85bb1f] some minor rewording of sentences about development + mailinglists + * [7af6ef4] mkinitramfs: do not execute compress command under quotes + (Closes: #588517) + * [b65a486] update-initramfs: stop buildprocess if any script is + failing + * [e7daaf7] init: provide validate_init() wrapper to support absolute + symlinks. (Closes: #590744) + * [a0c3140] init: provide fastforward path for the common case when + validating init binary. + * [b343994] Bump Standards-Version to 3.9.1. + + [ maximilian attems ] + * [837f261] mkinitramfs: set nounset and errexit + * [be71015] reportbug: list the mkinitramfs hook scripts of reporting + box + * [295bca7] initramfs-tools.8: Enhance documentation of boot option + * [c327689] update-initramfs: run_bootloader() return after zipl and + flash-kernel + * [089a903] mkinitramfs: set COMPRESS=gzip to be more consistent. - + thanks to Colin Watson <cjwatson@ubuntu.com> + * [210c83c] control: conform to latest policy without changes + * [9613412] mkinitramfs: Provide error code of failed mkinitramfs + creation + * [51a8d5f] revert mkinitramfs errexit and nounset + * [6bcb867] Maintainer notes document dev mailinglists + * [7c6221d] maintainer notes: underline that mail to one of the 2 + lists is good + * [762ae2a] update-initramfs: revert nounset (Closes: #588915) + * [a4e1a9e] initramfs-tools: only allow hook scripts to errexit on + mkinitramfs + * [6f0b646] update-initramfs: run_bootloader() invoke Initramfs hooks + + [ Stephen Powell ] + * [09d251a] postinst hook: respect INITRD variable + * [ff6116f] Redirect STDOUT to STDERR for post{inst,rm} hooks + + -- Michael Prokop <mika@debian.org> Sat, 07 Aug 2010 09:41:39 -0400 + +initramfs-tools (0.97.2) unstable; urgency=high + + * [ce732c3] initramfs-tools: output name of script that errexits. + (Closes: 586554) + + -- maximilian attems <maks@debian.org> Tue, 06 Jul 2010 12:58:37 +0200 + +initramfs-tools (0.97.1) unstable; urgency=high + + * [90d99e4] mkinitramfs: Fix initramfs generation without COMPRESS set. + (Closes: 587608) - thanks Valentin QUEQUET <valentin.quequet@orange.fr> + + -- maximilian attems <maks@debian.org> Mon, 05 Jul 2010 21:50:47 +0200 + +initramfs-tools (0.97) unstable; urgency=low + + [ Martin Michlmayr ] + * [e65ee48] Produce an error when root cannot be determined with + MODULES=dep + * [bb66fc2] hook-functions/init/scripts/local: add support for ubifs. + (Closes: #582858) - thanks to Martin Michlmayr <tbm@cyrius.com> + + [ Ferenc Wagner ] + * [1d66ae1] scripts/nfs: cleanup retry logic + + [ Colin Watson ] + * [3054e3e] initramfs-tools: work around 'find -printf %Y' bug + + [ maximilian attems ] + * [a8a5ce4] script: Add update-initramfs.conf to bug report + * [cc6077a] update-initramfs: Fix another unbound variable (Closes: + #583695) + * [b1f74e6] get_fstype: reference blkid in comment - thanks to + Christoph Anton Mitterer <calestyo@scientia.net> + * [eb93a7e] pre_mountroot(): reduce timeout to 30 seconds + * [38563fe] scripts/functions: On panic change to tty1 if chvt around + - thanks to Colin Watson <cjwatson@ubuntu.com> + * [2031379] mkinitramfs: No point in hardcoding busybox path + * [68c87cd] mkinitramfs: check syntax of boot and hook scripts + * [ae02e4b] scripts/functions: beautify a bit reduce_satisfied() + * [22d996c] maintainer doc: use git commands without the dash + * [6147641] nfsmount: more small cleanups + * [e967b03] mkinitramfs, lsinitramfs: Better error message for + non-GNU getopt + * Add lsinitramfs (to list content of an initramfs image) ([a39db63] + [969f8fd] [fafede5] [2f3eb88]) + + [ Michael Prokop ] + * [2a8c990] hook-functions/mkinitramfs/update-initramfs: consequently + output error messages to stderr + * [04b8619] init: display warning message if devtmpfs could not be + mounted. - thanks to Ferenc Wagner <wferi@niif.hu> + * [60afd2a] code cleanup: drop trailing whitespaces. + * [ab28c77] code cleanup: consequently replace spaces in indentions + with tabs to unify coding stile + * [3a02c6f] code cleanup: consequently use "W:" for warnings. + * [b1fff5e] add bash-completion for update-initramfs (Closes: #537139) + - thanks to Stéphane Jourdois <stephane@jourdois.fr> + * [5697c3b] hook-functions: replace awk calls with sed in + dep_add_modules() (Closes: #585991) - thanks to Thorsten Glaser + <tg@mirbsd.de> + * [7afab22] debian/script: append /proc/mdstat (iff present) to + bugreports + * [5b565be] scripts/functions: allow hooks to abort build (Closes: + #396388) + * [528ba78] hook-functions: do not install ubi module by default via + auto_add_modules() + * [ecb8416] lsinitramfs: be more defensive against cmdline options + * [2ff4ba2] scripts/functions: fix usage of test for script execution + * [74f71c9] scripts/functions: fix another sh -n usage and fix typo + * [91f5947] hook-functions: install virtio_pci module if + /sys/bus/virtio is present and using modules=dep (Closes: #585992) - + thanks to Vincent Danjean <vdanjean@debian.org> + * [d25f610] slightly improve manpage lsinitramfs.8 + * Provide maintainer-notes.html, being "Maintainer documentation for + initramfs-tools" ([7fc1ee5] [afafea4] [e506ee7] [d53a839] [6af23c2]) + + -- Michael Prokop <mika@debian.org> Fri, 18 Jun 2010 12:28:04 +0200 + +initramfs-tools (0.96.1) unstable; urgency=low + + * hook-functions: Make sure copy_exec hook function does not + exit with a non-zero return value in non-verbose mode. + [Closes: #584520] + * docs/framebuffer: Document mode vs. mode_option option in + framebuffer example script. [Closes: #439846] + * hook-functions: make device name handling for /proc/mdstat + more flexible for MODULES=dep. [Closes: #549680, #514756] + * mkinitramfs / scripts/functions + initramfs-tools.8: + Support dashes inside scripts names. [Closes: #566056] + * hook-functions: handle ubifs in dep_add_modules() and return + since ubifs root is a char device, (see issue #582858). + * mkinitramfs: warn if TMPDIR is mounted noexec + fall back + to not cache run scripts then. [Closes: #576678] + * Add myself to uploaders. + + -- Michael Prokop <mika@debian.org> Tue, 08 Jun 2010 15:59:08 +0200 + +initramfs-tools (0.95.1) unstable; urgency=low + + [ Michael Prokop ] + * NMU as requested by maintainer. + * update-initramfs: fix unbound variables. [Closes: #583695] + Based on patch by Jonathan Nieder. + + [ Jonathan Nieder ] + * update-initramfs: use $* instead of $@. + + -- Michael Prokop <mika@debian.org> Sun, 30 May 2010 22:09:15 +0200 + +initramfs-tools (0.95) unstable; urgency=low + + [ maximilian attems ] + * update TODO list. + * hook-functions: refactor copy_exec. + * mkinitramfs: check only once for existing ldd. + * mkinitramfs: Use eventual TMPDIR definition. + * mkinitramfs: guard against empty EXTRA_CONF. + * update-initramfs: Use nounset. + * mkinitramfs: Fix several unbound variables. + * mkinitramfs: On verbose indicate what we rm. + * bug script: include sizes of generated initramfs. + * debian/script: add generated resume param to bug. + * hook-functions: manual_add_modules simplify. + * hook-functions: copy_modules_dir() small simplifications. + * mkinitramfs.8: Fix wrong sourcing in boot script. (Closes: #545728) + * initramfs-tools.8: Mention /scritps/functions. + * initramfs-tools.8: cryptopts param gone. + * initramfs-tools.8: document BOOTIF variable. + * configure_networking(): work with empty DEVICE string. + (Closes: #566295, #575766) + * hook-functions: add hid-apple. (Closes: #577253) + * Revert "mkinitramfs: only copy modprobe conf files". (Closes: #577981) + * initramfs-tools: change license to GPL. + * hook-functions: re-add hid-microsoft. (Closes: #577253) + * initramfs-tools: drop outdated breaks. + * debian/copyright: add boilerplate to keep lintian happy. + * hook-functions: Fix copy_modules_dir(). + + [ Axel Beckert ] + * mkinitramfs.8: Add information about $TMPDIR environment variable. + + [ bert schulze ] + * mkinitramfs: add LZO support. + * mkinitramfs: use -9 for lzop. + + [ Vagrant Cascadian ] + * configure_networking: pxelinux BOOTIF fixes. + * init: add BOOTIF bootarg. + + [ Michael Prokop ] + * Support booting from USB 3 xHCI-based controllers. + + [ Claus Herwig ] + * mkinitramfs: fix MODULES=dep on mylex raid devices (DAC960). + (Closes: #579702) + + -- maximilian attems <maks@debian.org> Fri, 28 May 2010 17:22:56 -0700 + +initramfs-tools (0.94.4) unstable; urgency=low + + * init: fix hardcoded resume handling. (Closes: #576700) + + -- maximilian attems <maks@debian.org> Thu, 08 Apr 2010 06:02:28 +0200 + +initramfs-tools (0.94.3) unstable; urgency=low + + * debian/control: Add Breaks against experimental findutils. + (closes: #576677) + + -- maximilian attems <maks@debian.org> Thu, 08 Apr 2010 03:50:28 +0200 + +initramfs-tools (0.94.2) unstable; urgency=low + + * debian/control: amend Breaks for exp mdadm. + + -- maximilian attems <maks@debian.org> Tue, 06 Apr 2010 23:50:06 +0200 + +initramfs-tools (0.94.1) unstable; urgency=low + + * debian/control: Add a breaks mdadm. + * debian/control: Fix Breaks version comparison. + + -- maximilian attems <maks@debian.org> Tue, 06 Apr 2010 16:18:25 +0200 + +initramfs-tools (0.94) unstable; urgency=low + + * The "Litte Bang" release + + [ maximilian attems ] + * Nuke kernelextras hooks. + * Create a klibc hook script. + * Redefinde MODULES=most to not carry any fb driver per default. + * Nuke framebuffer boot script. + * Revert "hook-functions: Add hid_* modules." + * Move busybox addition to a hook script. + * mkinitramfs fix comment. + * hook-functions: Fix mounted /sys check for openvz container. + * initramfs-tools.8: fix boot example script to execute. + scripts/functions. (closes: #545728) + * Fix out-of-date-standards-version. + * /etc/kernel hook script support for make deb-pkg generated linux-images + and kernel-package. (closes: #523735, #561289) + * update-initramfs: allow -t takeover on delete. + * /etc/kernel/postrm.d/i-t: use now takeover on delete. + (closes: #524534, #547365, #559619) + * Nuke useless unused dir. + * kernel hook scripts: Fix typo, add comments. + * hook-funcitions: Only warn about missing firmware if /proc/modules + exists. (closes: #560266, #575154) + * mkinitramfs: Be opportunistic when calling modprobe thus showing + errors. (closes: #554873) + * copy_exec: Check if ldd is around. + * scripts/local: Use blkid as backup fstype detection. (closes: #568527) + * mkinitramfs: only copy modprobe conf files. (closes: #506533) + * blacklist earlier at init-top stage. + * scripts/local: fix blkid invocation. + * init: export and unset BOOTIF. + * init: rexport resume to reallow it's hardcoded usage. (closes: #572858) + * update-initramfs: -d delete .bak file. (closes: #559535) + * control: bump standards version without changes. + * control: Clean up Uploaders field. + * switch from cdbs to debhelper 7. + * update-initramfs: Stop second guessing lilo usage. (closes: #574553) + * mkinitramfs: allow to build initramfs for unmodular linux images. + (closes: #415474, #433708) + * initramfs.conf.5: document UMASK variable for sensitive initramfs. + (closes: #536195) + * update-initramfs: only run elilo if configured. (closes: #534201) + * update-initramfs: fix previous elilo commit. + * MODULES=DEP Use driver/module syfs attribute. (closes: #567189) + * panic: quote variable. + * MODULES=DEP: Check rootfs on mkinitramfs. (closes: #519800) + * Use ata_generic driver on all_generic_ide bootarg + * scripts/functions: add get_fstype() from scripts/local. (closes: #487409) + * mkinitramfs.8: update date. + * Keep acpi modules in initramfs so that udev can load them early. + * mkinitramfs: no longer copy depmod. + * init: Silence "Loading essential drivers..." on quiet boot. + * hook-functions: Add btrfs to base modules. + * init: export BOOT for casper and friends. + * hooks/klibc: Keep gzip in initramfs. + * modernize docs to todays standards. + * examples: shipp old framebuffer boot script. + * initramfs.conf.5, update-initramfs.conf.5: Add FILES section. + (closes: #565386) + * mkinitramfs: be silent if no modules.map was generated in first place. + * debian/control: Add a breaks cryptsetup. + + [ Tormod Volden ] + * blacklist boot hook write to /etc/modprobe.d/initramfs.conf. + (closes: #541864) + + [ Michael Prokop ] + * Fix path to nfsroot.txt in documentation. + * hook-functions: Avoid firmware copy error. (closes: #570678) + + [ Joey Hess ] + * scripts/local: avoid mount -t unknown. (closes: #567065) + + [ Avi Rozen ] + * mkinitramfs: add all usb storage devices. (closes: #543568) + + [ Ferenc Wagner ] + * initramfs-tools: make the panic argument available in the rescue + shell. (closes: #569033) + + [ Maximilian Gass ] + * mkinitramfs: KEYMAP option fails to work due to missing keymap. + (closes: #565416) + + [ Vagrant Cascadian ] + * configure_networking: support BOOTIF variable set by pxelinux. + (closes: #535008) + + [ Ben Hutchings ] + * copy_modules_dir: Take a list of exclusions after the base directory. + * auto_add_modules: Copy all modules from net, excluding some + subdirectories. + + [ Scott James Remnant ] + * init: Mount devtmpfs on /dev. + * mkinitramfs: Call depmod before packing the initramfs. + (closes: #465760, #562561) + * init: load the netconsole module with netconsole bootarg + * init: mount /dev/pts as well as /dev. + + [ Ben Collins ] + * update-initramfs: Default to not keep .bak backups. + + [ Piotr Lewandowski ] + * update-initramfs breaks if /etc/mtab is a symlink to /proc/mounts. + (closes: #525606) + + [ Martin Michlmayr ] + * MODULES=dep fix boot with MMC. (closes: #548711) + + [ Nikolaus Schulz ] + * hook-functions: let dep_add_modules() recurse into lvm slave devices. + (closes: 573761) + + [ Anna Jonna Armannsdottir ] + * configure_networking: Try repeatedly ipconfig with increasing + timeout. + + [ Colin Watson ] + * mkinitramfs: Filter out looping or broken symlinks from the + initramfs. (closes: #575157) + * mkinitramfs: set initramfs root to 755. + + [ Bert Schulze ] + * initramfs-tools: support different compression tools in mkinitramfs. + (closes: #533903) + * mkinitramfs: -c compression support / commandline override. + (closes: #576429) + + -- maximilian attems <maks@debian.org> Mon, 05 Apr 2010 05:25:48 +0200 + +initramfs-tools (0.93.4) unstable; urgency=medium + + [ Aaron M. Ucko ] + * scripts/init-top/framebuffer: i915 needs intel-agp too. (closes: #533258) + + [ maximilian attems ] + * preinst: Don't hardcode vol_id cmd. + * initramfs-tools.8: Convert hyphen to minus sign. + * control: bump versioned dep on debhelper. + * control: bump standards version without changes. + * hook-functions: Fix loading of entries without newline in + /etc/initramfs-tools/modules. (closes: #532745) + * MODULES=most: Add virtio_net to initramfs. (closes: #533894) + + -- maximilian attems <maks@debian.org> Wed, 29 Jul 2009 14:55:04 +0200 + +initramfs-tools (0.93.3) unstable; urgency=low + + [ maximilian attems ] + * cleanup LABEL handling code. + * update-initramfs: Use exit code of command -v too. + * hook-functions: Add i915 module for kms. + * update-initramfs: Pass version to flash-kernel. (closes: #523711) + * update-initramfs: Don't hardcode path for lilo or elilo. (closes: #524928) + * hook-functions: MODULES=dep error out if sysfs not mounted on /sys. + (closes: #524179) + * debian/control: No longer mention EVMS in long description. + * hook-functions: MODULES=most fix old typo s/smc911x/smc91x/. + (closes: #528094) + * mkinitramfs: Invoke dpkg --print-architecture. (closes: #529222) + + [ Loic Minier ] + * copy_exec: also avoid picking sse2, neon, and vfp hwcaps libs. + + -- maximilian attems <maks@debian.org> Tue, 21 Apr 2009 15:05:40 +0200 + +initramfs-tools (0.93.2) unstable; urgency=low + + [ François Delawarde ] + * hook-functions: MODULES=dep fix for luks over cciss devices. + (closes: #517072, #522030) + + [ maximilian attems ] + * hook-functions: stricter match on loaded module for firmware + warning. + * hook-functions: Add first firmware from $(uname -r) versioned + directories. (closes: #521370) + * hook-functions: MODULES=most add all fb modules per default. + * update-initramfs: Cleanup run_bootloader() + * update-initramfs: mbr_check() use /boot/grub/grub.cfg for grub2 + search. (closes: #427509) + * update-initramfs: Run update on highest version instead of + /initrd.img link. (closes: #493863) + * hook-functions: MODULES=most fb add all available agp modules. + * update-initramfs: Fix error message on wrong -k version argument. + * hooks/thermal: Prevent inclusion of windfarm modules on PS3. + * mkinitramfs: Allow dots in boot and script filenames. + + [ Maik Zumstrull ] + * init-top/framebuffer: Load intel-agp for intelfb. + (closes: #416063, #455876) + + -- maximilian attems <maks@debian.org> Thu, 02 Apr 2009 12:44:33 +0200 + +initramfs-tools (0.93.1) unstable; urgency=low + + [ maximilian attems ] + * init: export ip root param for configure_networking(). (closes: #516746) + * initramfs-tools.8: Document exported IP kernel parameter. + * initramfs-tools.preinst: Nuke initrd-tools related migration path. + * MODULES=dep: ide-disk got renamed to ide-gd_mod since 2.6.28. + * mkinitramfs: usage() fix conffile name. + * update copyright year of my contributions. + * control: conform to latest policy without changes. + * hook-functions: reword MODULES=dep error message. + * hook-functions: MODULES=dep fix for mmc root. (closes: #520198) + * debian/compat: Set debhelper compatibility version 5. + + [ Matt Kraai ] + * mkinitramfs-kpkg misspells "deprecation" as "depreciation". + (closes: #517344) + + [ Michael Vogt ] + * update-initramfs: set_linked_version() check if the links point to + an existing initrd.img. + + [ Scott James Remnant ] + * mkinitramfs: include the modules.order file. + + [ Ben Collins ] + * init-top/framebuffer: ignore blacklist for forced vga= usage. + + -- maximilian attems <maks@debian.org> Mon, 23 Mar 2009 07:55:16 +0100 + +initramfs-tools (0.93) unstable; urgency=low + + Release "Fischia il vento e infuria la bufera" + + [ maximilian attems ] + * manpages: Set Linux as necessary OS. + * initramfs-tools.8: Fix path of debug log - now kept after boot. + (closes: #488804) + * mkinitramfs: Use cp with correct DESTDIR instead of copy_exec for configs. + Fixes relative pathes for -d option. (closes: #472409) + * initramfs-tools.8: Document default 180s rootdelay. + * update-initramfs: Fix run_bootloader() to check for grub2. + (closes: #511514) + * control: Add ${misc:Depends} depends. + * nuke old lvm hook scripts. + * mkinitramfs-kpkg: deprecate it's usage. + * hook-functions: just ship old iee1394 if around. + * mkinitramfs: Post-Lenny cleanup. + * udevhelper: nuke as need for partial upgrades between etch/lenny. + * mkinitramfs: Fix new pipe construct to really work inside + "${DESTDIR}". + * thermal boot script: Don't load thermal+fan on acpi=off. (closes: #514997) + * MODULES=dep fix for minor partitions > 9. (closes: #513958) + * initramfs-tools.8: Document mkinitramfs and init env variables. + (closes: #512453) + * init: Fix boot with LABEL containting one or several '/'. Thanks to + Andres Salomon <dilinger@debian.org> for testing. (closes: #489008) + * scripts/local-premount/resume: Fix resume with LABEL containing '/'. + + [ e2xbegqsdyt21hfc ] + * update-initramfs.8: mentions the specific conf file. + + [ Kel Modderman ] + * init: variable `break' unset before `maybe_break init' is evaluated. + (closes: #509637) + + [ Kees Cook ] + * minitramfs: find/cpio exit codes ignored while building initramfs. + (closes: #514938) + * mkinitramfs: Do not pass exit code through on pipe failure. + + [ Luke Yelavich ] + * hook-functions: Add hid_* modules, since some keyboards will not be + usable at the initramfs/busybox prompt without them. (closes: #515866) + + [ Andres Salomon ] + * allow root=mtd0 to be used; skip root checks if ROOT doesn't start + with /dev. (closes: #497133) + * initramfs-tools: Readd support for linux-2.6 make deb-pkg target. + (closes: #504551) + + [ Ian Campbell ] + * MODULES=dep fix for Xen virtual block devices. + + -- maximilian attems <maks@debian.org> Wed, 18 Feb 2009 19:10:23 +0100 + +initramfs-tools (0.92o) unstable; urgency=high + + * configure_networking: Raise ipconfig timeout to 180 seconds. + Thanks Norbert Tretkowski <norbert@tretkowski.de> for report. + (closes: #511085) + + -- maximilian attems <maks@debian.org> Wed, 07 Jan 2009 15:16:14 +0100 + +initramfs-tools (0.92n) unstable; urgency=high + + [ Eugene Paskevich ] + * hook-functions: Fix MODULES=dep for lvm LABEL fstab notation. + (closes: #508906) + + [ maximilian attems ] + * all_generic_ide: Also parse boolean bootoption. (closes: #507805) + * initramfs-tools.8: Document where to look up NFSOPTS. (closes: #502927) + * update-initramfs.8: List -d and mark the non-optional as such. + + [ S. Sakar ] + * hook-functions: MODULES=dep fix encrypted loop device. + (closes: #499666) + + -- maximilian attems <maks@debian.org> Fri, 19 Dec 2008 14:03:13 +0100 + +initramfs-tools (0.92m) unstable; urgency=medium + + [ Colin Watson ] + * scripts/functions: Call ipconfig with a one-minute timeout. + * Make debug option write to /dev/.initramfs/initramfs.debug, + so that it can be retrieved after boot. + + [ Julien Danjou ] + * scripts/functions: Wrong check for udevadm in functions. (closes: #507059) + + [ maximilian attems ] + * scripts/functions: fix not set break variable. (closes: #502058) + * MODULES=dep fix for ida devices. + * hook-functions: alphebetize net drivers, fix typhoon typo. + * Add atl1e, cxgb, ixgb, ixgbe, mlx4_core, netxen_nic, sfc, tehuti to + net module list. (closes: #503216) + * nuke 0.92k goof clean up. + * postrm: set -e flag. + * Revert "framebuffer: Let udev create fb devices." + * scripts/functions: comment fix path to moved linux-2.6 + Documentation. + * init: Don't leak initramfs-tools exported variables. + (closes: #426465, #505440) + + [ dann frazier ] + * Fix MODULES=dep for cciss devices. (closes: #507619) + + [ Michal Pokrywka ] + * framebuffer: Add support for uvesafb. (closes: #502056) + + [ Andres Salomon ] + * fix redboot partition support. (closes: #504555) + + -- maximilian attems <maks@debian.org> Tue, 16 Dec 2008 16:01:44 +0100 + +initramfs-tools (0.92l) unstable; urgency=high + + * Revert "initramfs-tools: Add support for linux-2.6 make deb-pkg + target" (closes: #499270) thanks Vincent Danjean <vdanjean@debian.org>. + + -- maximilian attems <maks@debian.org> Wed, 17 Sep 2008 15:38:05 +0200 + +initramfs-tools (0.92k) unstable; urgency=high + + [ Martin Michlmayr ] + * update initramfs.conf according to latest Debian Installer. + * update-initramfs: don't run glantank-update-kernel. + + [ maximilian attems ] + * auto_add_modules: add dasd_diag_mod to dasd section. + * initramfs-tools: Add support for linux-2.6 make deb-pkg target. + + -- maximilian attems <maks@debian.org> Tue, 16 Sep 2008 14:55:04 +0200 + +initramfs-tools (0.92j) unstable; urgency=high + + [ Gerfried Fuchs ] + * initramfs-tools.8: Nuke useless bold spaces. + * initramfs-tools.8: Fix manpage-has-errors-from-man. + + [ maximilian attems ] + * Readd zfcp to auto_add_modules. (closes: #498698) + * Add dasd_diag_mod to auto_add_modules block section + Thanks Bastian Blank <waldi@debian.org>. + + [ Martin Michlmayr ] + * initramfs.conf: Mention possible value overriding by d-i for + example. (closes: #498712) + + -- maximilian attems <maks@debian.org> Sat, 13 Sep 2008 12:12:02 +0200 + +initramfs-tools (0.92i) unstable; urgency=high + + * MODULES=dep fix for root lvm on md. (closes: #498237) + Thanks Rod Whitby <rod@whitby.id.au> for report and test. + + -- maximilian attems <maks@debian.org> Mon, 08 Sep 2008 16:13:24 +0200 + +initramfs-tools (0.92g) unstable; urgency=high + + [ maximilian attems ] + * wait_for_udev: s/udevsettle/udevadm/ for upgrades after Lenny. + * auto_add_modules: Add ext4 and ext4dev. (closes: #494922) + + [ Andres Salomon ] + * Fix parse_numeric() to ignore non hex root string prefixes aka + root=mtd0 on OLPC. see #497133 + + -- maximilian attems <maks@debian.org> Tue, 02 Sep 2008 17:50:32 +0200 + +initramfs-tools (0.92f) unstable; urgency=medium + + [ maximilian attems ] + * mkinitramfs: only lvm2 initramfs has busybox dep. (closes: #490875) + * mkinitramfs: Fix usage and man outfile arg is not optional. + (closes: #493238) + * preinst fix vol_id path. (closes: #494433) + * update-initramfs: run_bootloader() invoke flash-kernel and glantank- + update-kernel in order to have latest initramfs flashed on triggered + update. Thanks to Joey Hess <joeyh@debian.org>. + * debian/control: Newer standards version without changes. + + [ Chris Lamb ] + * make log_begin_msg not emit trailing newline (closes: #494257) + + [ Martin Michlmayr ] + * MODULES=dep boot fix for Orion. (closes: #494027) + + -- maximilian attems <maks@debian.org> Tue, 12 Aug 2008 11:09:11 +0200 + +initramfs-tools (0.92e) unstable; urgency=medium + + * udevhelper hook: drop ide.agent. + + -- maximilian attems <maks@debian.org> Mon, 07 Jul 2008 13:52:54 +0200 + +initramfs-tools (0.92d) unstable; urgency=low + + * Ubuntu merge + - More meaningful text for no root device panic from Ubuntu. + - Add virtio_pci, udf for MODULES=most root device support. + - usplash pulsates: drop code to increment a progress bar after + each message. + - initramfs-tools.preinst: Try to use UUID for resume device. + - add boot script loading ide-generic on all_generic_ide cmdline. + Thanks Frans Pop <elendil@planet.nl> for report. (closes: #485786) + * init: add possible mountroot break (closes: #488963) + * initramfs-tools.8: document UUID usage for root and all_generic_ide. + (closes: #489186) + * debian/initramfs-tools.preinst: try with different vol_id pathes. + + -- maximilian attems <maks@debian.org> Sat, 05 Jul 2008 02:36:10 +0200 + +initramfs-tools (0.92c) unstable; urgency=low + + [ maximilian attems ] + * doc: fix date string of manual pages. + * MODULES=most add mmc host and card drivers for OLPC. (closes: #483431) + * update-initramfs.conf.5: document backup_initramfs variable. + (closes: #475430) + * initramfs-tools.8: Document "break" and "panic" behaviour. + (closes: #481196) + * wait_for_udev(): simplify, no need for logging. + + [ martin f. krafft ] + * Wait for udevsettle after -top scripts ran + * init: Remove extra ellipses + + -- maximilian attems <maks@debian.org> Sat, 05 Jul 2008 00:31:06 +0200 + +initramfs-tools (0.92b) unstable; urgency=low + + [ maximilian attems ] + * update-initramfs: mbr_check() fix for /dev/md/X naming. (closes: #469312) + Thanks to Axel Beckert <beckert@phys.ethz.ch> for report. + * hook-functions: MODULES=dep fix error message. + + [ Glennie Vignarajah ] + * initramfs-tools: Fix UUID rootfs detection with 'MODULES=dep'. + (closes: #483082) + + -- maximilian attems <maks@debian.org> Fri, 30 May 2008 16:31:42 +0200 + +initramfs-tools (0.92a) unstable; urgency=high + + * ps3: Add ps3_sys_manager to MODULES=dep ps3 modules. + * initramfs-tools.8: Document resume_offset bootparam. + * Documentation typo fixes and additions. + * init: Fix hardcoded ROOT bootcase. (closes: #478236) + Thanks Kevin Price <kp@kevin-price.de> for report and + Martin Michlmayr <tbm@cyrius.com> for debugging. + + -- maximilian attems <maks@debian.org> Tue, 29 Apr 2008 21:18:55 +0200 + +initramfs-tools (0.92) unstable; urgency=low + + Release "Ogni contrada è patria del ribelle" + + [ maximilian attems ] + * init: export ROOTFLAGS + ROOTFSTYPE. + * debian/control: s/XS-Vcs/Vcs/ + * mkinitramfs: Drop gzip -9 option. (closes: #470869) + Thanks Tollef Fog Heen <tfheen@err.no>. + * Ignore lintian warnings about empty directories. + * framebuffer: Let udev create fb devices. + * framebuffer: Leave tty devices for udev too. + * manpages: fix hyphen-used-as-minus-sign + * init: fix mkdir usage. + * init: Set proper permissions of /dev/console mknod fallback. + * scripts/function: Use mknod directly. + * debian/control: Depend on latest klibc for mknod usage. + * scripts/functions: fix configure_networking() for multiple interfaces. + (closes: #467078) Thanks Michal Sojka <sojkam1@fel.cvut.cz>. + * ps3 nuke useless hardcoded initramfs script. (closes: #468113) + * resume: Add support for resume_offset swap file suspend to disk. + (closes: #474691) Thanks Alan Jenkins <alan-jenkins@tuffmail.co.uk>. + * update-initramfs: Rename function according to reliability fix. + * hook-functions: Add atl1, cxgb3, e1000e, igb, ipg, niu, sky2 to + net section of initramfs modules. (closes: #463607) + * hook-functions: MODULES=dep fix ps3 support. + * initramfs-tools.8: Small documentation fixes. (closes: #467627) + + [ debian@x.ray.net ] + * configure_network(): do nothing if device already configured. + (closes: #465901) + + [ Joey Hess ] + * update-initramfs: use dpkg-trigger. (closes: #447611) + + [ Luke Yelavich ] + * update-initramfs: Initramfs generation reliability fixes. + (closes: #468112) + + [ Fabio M. Di Nitto ] + * hook-functions: Add support for sunvnet and sunvdc. + + -- maximilian attems <maks@debian.org> Wed, 09 Apr 2008 10:42:49 +0200 + +initramfs-tools (0.91e) unstable; urgency=medium + + [ Daniel Reichelt ] + * update-initramfs: fix ro-mounted /boot check (closes: #458772) + + -- maximilian attems <maks@debian.org> Tue, 12 Feb 2008 18:23:34 +0100 + +initramfs-tools (0.91d) unstable; urgency=low + + * MODULES=dep fix for new /dev/md/X naming scheme (closes: #440694). + * debian/control: Add versioned depends on findutils (closes: #450888). + * Update to newer standards version without changes. + * local-premount/resume: coding style fixes. + + -- maximilian attems <maks@debian.org> Wed, 26 Dec 2007 00:53:48 +0100 + +initramfs-tools (0.91c) unstable; urgency=low + + * update-initramfs: Fix ro /boot partition check (closes: #451151) + * init: Don't overwrite boot cmdline arg (closes: #453294) + + -- maximilian attems <maks@debian.org> Wed, 28 Nov 2007 19:49:41 +0100 + +initramfs-tools (0.91b) unstable; urgency=low + + * hooks/udevhelper: Adding all /lib/udev on initramfs if missing. Due to + overly strict errexit usage by udev hook functionality might be missing. + This is an potential Etch Lenny upgrade issue on UUID and LABEL roots. + Thanks Michael Prokop <mika@grml.org> for report. (closes: 431291) + + -- maximilian attems <maks@debian.org> Thu, 04 Oct 2007 12:00:33 +0200 + +initramfs-tools (0.91a) unstable; urgency=low + + * init: Fix resuming with hardcoded uppercase RESUME variable. + Thanks Raphael Hertzog <hertzog@debian.org> for the report. + + -- maximilian attems <maks@debian.org> Wed, 12 Sep 2007 19:06:19 +0200 + +initramfs-tools (0.91) unstable; urgency=low + + * udev_helper: Axe the modprobe ide-generic should no longer be needed + for kernel since Etch. + * debian/control: Tighten dep on latest klibc for BUSYBOX=n usage. + Add XS-Vcs-* fields. Mv busybox from Depends to Recommends. + * mkinitramfs: Cope when no busybox is around warn on md/lvm root. + * mkinitramfs: Kill kinit.shared too. + * scripts/local: Quote readonly variable. (LP: #115807) + * mkinitramfs, scripts/keymap: Add trailing slash on cp destination for dir. + * init: Call panic for debug sh if run-init fails. + * init-top/framebuffer: Check that fb minor is below 32. + * init: Export noresume if set. uswsusp and kdump need it. + * init: Try harder to find a valid init on rootmnt. Fixes bootfailure on + bogus init bootarg too. + * scripts/{functions,nfs}: Split networking code in separate function. + Thanks Vagrant Cascadian <vagrant+debianbugs@freegeek.org> for the patch. + (closes: #439397) + * update-initramfs: Don't check for ro /boot inside of a chroot. + * debian/script: Fix syntax of MODULES=dep block. + * hook-functions: Add rootfs detection for the "auto" mount output. + Thanks martin f krafft <madduck@debian.org> for report. (closes: #441211) + * init: Disable quiet on debug bootarg. Fix new init error message. + Thanks Michael Prokop <mika@grml.org> for the patches. + * hook-functions: MODULES=dep fix I2O detection. Add sys_walk_modalias() + to catch old style IDE. + * mkinitramfs: Export MODULES, allows hook scripts to act accordingly. + (closes: #421658) Add /usr/share/initramfs-tools/conf-hooks.d for hooks + options on mkinitramfs run. Do not land in initramfs. + + -- maximilian attems <maks@debian.org> Sun, 09 Sep 2007 12:26:16 +0200 + +initramfs-tools (0.90a) unstable; urgency=high + + * scripts/functions: simplify panic() + * mkinitramfs: Kick empty dir modules. + * hook-functions: Factor sys_walk_mod_add() out of dep_add_modules(). + * init: Fix mount options invocation for klibc mount. + * hook-functions: Add the new firewire modules. + + -- maximilian attems <maks@debian.org> Thu, 23 Aug 2007 14:37:51 +0200 + +initramfs-tools (0.90) unstable; urgency=low + + Release "J'aim' pas le fataliste Je n'ai ni foi ni loi" + + [ maximilian attems ] + * hook-functions: Fix xen i386 boots with optimized 2.5. (closes: 420754) + Thanks Marco Nenciarini <mnencia@debian.org> for patch. + * debian/control: Bump dep on klibc-utils from etch. (closes: 435031) + * scripts/functions: Implement non-zero panic bootarg. Style fix for + maybe_break(). + * hook-functions: dep_add_modules() fix for md, lv, luks root. + (closes: #426917, #429237, #426446) + * debian/scripts: Add /etc/crypttab to reportbug script. Add /sys/block + list for MODULES=dep to reportbug script. + * scripts/functions: Add error message on verbose mode about ignored files + in boot/hooks dir. Thanks Kornilios Kourtis <kkourt@cslab.ece.ntua.gr> + for the initial patch. Fixes a double set_initlist call too. Ignore empty + dirs earlier too. (closes: #428729, #433459) + * mkinitramfs.8: Document verbose mode. + * debian/initramfs-tools.preinst: Inhibit /etc/initramfs-tools/conf.d/resume + creation in chroot for debian-live and other. (closes: #433190) + Thanks Kel Modderman <kel@otaku42.de> for the patch. + * update-initramfs: Improve "altered" error message. (closes: #436752) + * update-initramfs, update-initramfs.conf: update_initramfs config variable + is tristate. Set to 'all' to update any initramfs: $(update-initramfs -u). + Allows specific admin setting. (closes: #425050) + + [ David Härdeman ] + * hook-functions: Protect all variable with local, plus coding style fixes. + + -- maximilian attems <maks@debian.org> Thu, 09 Aug 2007 21:30:29 +0200 + +initramfs-tools (0.89) unstable; urgency=low + + Release "L'\xE9lecteur c'est notoire N'a pas tout' sa raison" + + [ Joey Hess ] + * mkinitramfs: Include libgcc_s.so.1 on arm since glibc always tries to load + it for the SJLJ exception handling on that architecture. (closes: #426395) + Thanks to Aurelien Jarno for ack and review. + + [ maximilian attems ] + * initramfs.conf.5: Document ROOT hardcoding. + * scripts/local: Use simpler fstype invocation. + * initramfs-tools.8, initramfs.conf.5: Fix typos. (closes: #427837, #427838) + Thanks "A. Costa" <agcosta@gis.net> for the patch. + * scripts/local: Try to warn for renamed root dev. (closes: #374611) + * minitramfs: Fall back to bootable default MODULES=most if unsupported + MODULES setting is passed. Thanks Henning Sprang <henning_sprang@gmx.de> + for report. (closes: #429144) + * hook-functions: Fix variable typo. Thanks Emanuele Rocca <ema@debian.org>. + * scripts/local: Revert change to use udev vol_id before fstype, + there are too many "wrongly" formated fs out there. fstype supports less, + but is more robust. + + -- maximilian attems <maks@debian.org> Wed, 04 Jul 2007 00:28:34 +0200 + +initramfs-tools (0.88) unstable; urgency=low + + [ maximilian attems ] + * debian/changelog: Fix missing colons in closes. + * hook-functions: Add a proper /sys walking dep_add_modules() for a minimal + initramfs on MODULES=dep. (closes: #395526) + * mkinitramfs.8: Add examples section, plus improve description of the + low-level tool and how it fits with update-initramfs. + * init: Ignore non-numerical panic and rootdelay bootarg. + * scripts/init-premount/ps3: Fix typo. (closes: #423469) + * scripts/nfs: Fix when root-path includes server-ip. (closes: #387808) + Thanks Vagrant Cascadian <vagrant+debianbugs@freegeek.org> for patch. + + [ David Härdeman ] + * init: Remove cryptopts parsing, not official bootparam. cryptsetup scripts + parse /proc/cmdline themselves (even in the Etch version). + * hook-functions: Change copy_exec to use the same source and + destination path if only one argument is given. + * hook-functions: Document how copy_exec determines the target path. + * hook-functions: Add firmware loading support to manual_add_modules(). + (closes: #355881) + * scripts/local: Ubuntu merge + - As well as waiting for the existance of the root device node, also check + to see whether we have a filesystem of some kind on it. Some devices + nodes (devmapper/LVM/EVMS, mdadm) will exist before they can be safely + used. Patch by Scott James Remnant <scott@ubuntu.com>. Changed to + support both fstype and vol_id. + * hook-functions: make version check in check_minkver more robust. + + -- maximilian attems <maks@debian.org> Sun, 27 May 2007 00:52:38 +0200 + +initramfs-tools (0.87b) unstable; urgency=low + + * scripts/init-top/framebuffer: Remove vga16fb loading on splash bootarg. + Newer usplash > 0.4 no longer needs that. + + * hooks/legacymdadm: remove only needed for partial upgrades from sarge. + + * hooks/legacylvm: Source relevant functions. (closes: 419667) + + -- maximilian attems <maks@debian.org> Tue, 17 Apr 2007 11:56:58 +0200 + +initramfs-tools (0.87) unstable; urgency=low + + [ maximilian attems ] + * scripts/functions: reduce_satisfied() needs to ignore the same set as + set_initlist() otherwise an script having a prereqs on a non-executable + boot script may cause circular panic. (closes: 418509) + * Add blacklist boot param, disabling the load of specific modules inside + the initramfs. Still needs to be passed via tmpfs to the rootfs. + * mkinitramfs, scripts/functions: Fix regexes to always use posix character + classes. Based on a patch by Meelis Roos <mroos@linux.ee>. + (closes: 419062) + + [ David Härdeman ] + * Add support for loading keymaps. (closes: 337663) + * Move legacy code from mkinitramfs to separate hooks. + * Ubuntu merge + - Add PS3 module loading functionality without grep usage. + * debian/copyright: Update authors info. + * Bump standards version, no changes necessary. + * debian/scripts: Print settings from initramfs.conf in reportbug script. + + -- maximilian attems <maks@debian.org> Mon, 16 Apr 2007 20:21:30 +0200 + +initramfs-tools (0.86) unstable; urgency=low + + * update-initramfs: Bound the mode and version variable. (closes: 403905) + + * init: Set once the MODPROBE_OPTIONS environment variable and export it. + Don't forget to set -b to have the modprobe.d blacklists respected. + Thus remove everywhere the -q modprobe switch. + Thanks Ben Collins <bcollins@ubuntu.com> for the suggestion. + + * small trailing whitespace cleanup, display full path of kernel-img.conf + in bug script. + + * debian/control: Add busybox-initramfs as Ubuntu busybox alternative + to depends. Drop the sarge busybox-cvs-static entry. + + * scripts/local-top/mdrun: Drop, existed for partial upgrades from sarge. + + * scripts/local: Improve panic message and printed order. (closes: 414640) + Thanks Vincent.McIntyre@csiro.au for patch. + + * scripts/functions: Check if panic is set before using it. (closes: 406107) + Thanks martin f krafft <madduck@debian.org> for report. + + * hook-functions: Copy all kernel/drivers/{block,ide,scsi} subdir modules + instead of hardcoding the list of "supported" drivers. As consequence + the initramfs might be larger, but none of those should be missed! + As bonus syncs with Ubuntu. + + * init: Mount /sys and /proc nodev, noexec, nosuid - Ubuntu sync. + + * update-initramfs: If update-initramfs fails, restore the backup. + Useful if a MINKVER set is not fulfilled. (LP: #101844) + Thanks Soren Hansen <sh@linux2go.dk> for patch. + + * initramfs-tools.preinst: Test if $RESUME is nonzero, not if it exists, + fixes issue of UUID resume dev. (LP: #67932) While there remove the + conffile mv handling of 0.61. + + * scripts/functions: set_initlist() needs to add only script names with + alphabetics, numerics and underscores - skip any other. Bad enough + backup scripts get added, but they shouldn't lead to a panic. Also skip + directories that might lay around. (closes: 398347) (LP: #76131) + + * initramfs-tools.8: Document valid script names. + + * mkinitramfs: Don't add backup scripts to initramfs. (closes: 378682) + (LP: #78348) + + * scripts/functions: run_scripts() return immediately if passed dir + does not exist. Empty dirs without boot script aren't created anymore. + + * debian/copyright: Update my email, add Ben Collins, update years, + alphabetic authors sort + add new git tree location. + + * mkinitramfs: Set PATH with /sbin to allow non-root user usage. + Thanks Bob Montgomery <bob.montgomery@hp.com> for the suggestion. + (closes: 409995) + + -- maximilian attems <maks@debian.org> Tue, 10 Apr 2007 21:45:36 +0200 + +initramfs-tools (0.85g) unstable; urgency=high + + * SECURITY scripts/functions: Set permission of created root dev in + parse_numeric() to 600. This bug only affects lilo boots. Thanks + Fabian Pietsch <fabian@canvon.dyndns.org> and Goswin von Brederlow + <brederlo@informatik.uni-tuebingen.de> for patch input. (closes: 417995) + + * debian/control: Change Uploaders email. + + -- maximilian attems <maks@debian.org> Fri, 6 Apr 2007 09:19:13 +0200 + +initramfs-tools (0.85f) unstable; urgency=high + + Release "Au lieu d'aller voter Casse leur la margoulette" + + * update-initramfs: Grub _doesn't_ clear LILO string in mbr, but the inverse + is done. Fix mbr_check() to first check for GRUB. Fixes accidental lilo + call in the case that Grub is the used bootloader. (closes: 409820) + Thanks Michael Prokop <mika@grml.org> for bringing up the case. + + * initramfs.conf.5, mkinitramfs.5: Fix typos. Document version. + (closes: 405157, 405190, 405194) + + * update-initramfs: Be more screamy about lilo error, people seem to + overlook recent lilo failures. + + * scripts/init-top/framebuffer: Remove unused variables. + + * init: Export ROOTDELAY to let udev boot script handle eventual rootdelay. + downgrades 401916 + + -- maximilian attems <maks@sternwelten.at> Wed, 7 Mar 2007 23:34:17 +0100 + +initramfs-tools (0.85e) unstable; urgency=high + + Release "Qu'ils soient rouges, bleus ou blancs Il faudrait mieux les pendre" + + * initramfs-tools.8: Correct copy_exec() example. (closes: 403122) + Add a better dir to copy_modules_dir() example. + + * mkinitramfs: Revert the sed magic busybox hardlinking for size reduction. + Go for functionality. The klibc binaries are better tested and superior + in some cases like sleep. Fixes several boot troubles. Thanks + Benjamí Villoslada <benjami@bitassa.cat> for the report. (closes: 403224) + Thanks Jurij Smakov <jurij@debian.org> for pinpointing the trouble. + + * hook-functions: Add all drivers/ata drivers to initramfs that exist for + uname >= 2.6.19 (closes: 403309) urgency high. + + * scripts/init-top/framebuffer: Fix syntax by closing the brackets. Handle + options of the form key:value, map kernel bootarg to module name for + matroxfb. Thanks Rob Walker <rob@tenfoot.org.uk> for the patches + (closes: 403667, 403669). Use posix regexes according to review by + Jurij Smakov <jurij@debian.org>. Also protect all variables. + + -- maximilian attems <maks@sternwelten.at> Wed, 20 Dec 2006 22:29:51 +0100 + +initramfs-tools (0.85d) unstable; urgency=high + + Release "Le gros ventre qu'engraisse L'suffrage universel" + + * update-initramfs: run_lilo() needs to show errors of lilo -t on failure + and exit with failure message. Thanks David Anselmi <anselmi@anselmi.us> + for report. (closes: 401331) Updated according to review by + Jurij Smakov <jurij@debian.org>. + + * hook-functions: Add hppa zalon scsi module. (closes: 401229) urgency high + + * update-initramfs: Add warning for missing initramfs on update mode without + takeover arg. Restructure altered_check, don't delete sha1sum on failure. + Thanks Jurij Smakov <jurij@debian.org> for noticing. + + * mkinitramfs: Reduce size of initramfs by keeping 1 busybox copy. + Thanks for the patch input to Russell Coker <russell@coker.com.au>. + Thanks for the sed rework to Klaus Ita <deb.ian@worstofall.com>. + (closes: 338405) + + -- maximilian attems <maks@sternwelten.at> Thu, 14 Dec 2006 16:10:06 +0100 + +initramfs-tools (0.85c) unstable; urgency=medium + + Release "Pour être heureux vraiment Faut plus d'gouvernement" + + * hook-funcions: Show on verbose mode the added binaries and libraries. + + * update-initramfs: Don't silently fail, user won't be able to reboot. + Thanks Mario Aeby for his blog entry. + + * debian/copyright: Moved to bzr.d.o repo location. + + * hook-functions: Merge 0.69ubuntu22 copy_module_dir fixes, we'll use it + too postetch. Fix the bashism. Thanks to Jurij Smakov <jurij@debian.org> + + * scripts/init-premount/thermal: Load blindly a bunch of thermal modules + on powerpc as they are not hotpluggable. Might be ugly, but is a safe bet. + Kernel plattform fix is scheduled for 2.6.20. Push with medium urgency. + (closes: 401269) + + -- maximilian attems <maks@sternwelten.at> Sat, 2 Dec 2006 18:06:34 +0100 + +initramfs-tools (0.85b) unstable; urgency=medium + + * mkinitramfs: Test for ${outfile} before touching anything. (closes: 381677) + + * update-initramfs.conf, update-initramfs: Allow to disable backup strategy. + While we are it fix logic of backup_booted_initramfs(). (closes: 397787) + urgency medium. + + * scripts/init-top/framebuffer: Fix regression of /dev/fb0 creation, + modprobe fb before creating device. Thanks to Otavio Salvador + <otavio@debian.org> for patch. + + -- maximilian attems <maks@sternwelten.at> Tue, 14 Nov 2006 08:06:40 +0100 + +initramfs-tools (0.85a) unstable; urgency=high + + * On first time run backup_booted_initramfs() has nothing to back up. + + -- maximilian attems <maks@sternwelten.at> Fri, 3 Nov 2006 09:03:46 +0100 + +initramfs-tools (0.85) unstable; urgency=high + + Release "Nichts ist getan, wenn noch etwas zu tun übrig ist." + + * update-initramfs: Fix ro /boot check to not trigger on other mounts + having a /boot string. (closes: 393906) Thanks for the patch + Olli Helenius <olli@starnet.fi> + + * init-top/framebuffer: Fix duplicate fbno0 device creation. Merge the + 0.69ubuntu10 solution. Thanks Benjamin Leipold <rabbit171@web.de> + for the report. (closes: 393890) + + * update-initramfs: Fix mbr_check() for installed lilo and used grub. Thanks + for the patch by Michel Casabona <michel.casabona@free.fr>. Also be + stricter about do_bootloader match, use negative info and add check for + grub on mbr before throwing error. (closes: 394559) urgency high. + + * hook-functions: Add sata_sil24 to scsi modules. (closes: 395907) + Thanks Vadim S. Solomi" <vadic@vadic.nnov.ru> for the patch. + + * update-initramfs: Fix lilo detection in mbr_check() for rootraid. + Based on a patch by Michael Prokop <mika@grml.org>. Suppress lilo warning + messages on test run. + + -- maximilian attems <maks@sternwelten.at> Mon, 30 Oct 2006 10:12:58 +0100 + +initramfs-tools (0.84) unstable; urgency=high + + Release "A-t-on pris à Saint-Périne, Tous ces dictateurs impotents ?" + + * hook-functions: Use modprobe --ignore-install arg to put all listed + modules on initramfs. Thanks Mario Izquierdo <mariodebian@gmail.com> + for report. (closes: 384043) + + * update-initramfs: If elilo is around run it on initramfs update, add + zipl run. + + * scripts/local: Use vol_id too if around to set FSTYPE. Thanks for the + patch to "Alex Owen" <r.alex.owen@gmail.com> (closes: 380004) + + * hooks/thermal: Add many of the windfarm modules for powerpc boxes. + + * initramfs-tools.preinst: merge bits of 0.69ubuntu16. (closes: 393773) + urgency high as fixes upgrade from sarge - thanks Federico Grau + <donfede@casagrau.org>. + + * scripts/init-top/framebuffer: Fix mknod call. (closes: 393543) + Thanks for the patch Kiro Zimmer <debian@kironet.de>. + + * mkinitramfs: Create modulesdir even on monolithic linux. (closes: 393688) + Thanks for the patch Ian Campbell <ijc@hellion.org.uk>. + + -- maximilian attems <maks@sternwelten.at> Wed, 18 Oct 2006 11:04:50 +0200 + +initramfs-tools (0.83) unstable; urgency=high + + Release "Ois was du verzapfst is a koida Kaffee" + + * update-initramfs: Keep an initramfs backup while we are running. Do also + keep the booted initramfs as .bak in /boot. First helps on power cut. + Second is a good conservative approach and demanded feature. + Thanks Thiemo Nagel <thiemonagel@gmx.de> for report. (closes: 387780) + + * init: When debug is invoked with an additional arg, write output to + console. Thanks Christian Aichinger <Greek0@gmx.net> for the idea. + Should ease remote debugging. + + * initramfs-tools.8: Document new debug=<whatever> feature. + + * initramfs-tools.preinstall: Check for right arg. (closes: 391619) + + * update-initramfs: Try to guess harder if lilo might need to be run + if grub is also around. On old installs we get _zero_ information from + /etc/kernel.img. Parse mbr for lilo signature. (closes: 385949) + Thanks to Michael Prokop <mika@grml.org> for finetuning. + + * scripts/init-top/framebuffer: Parse video bootarg and refactor script. + This add support for custom framebuffer modules. (closes: 386441) + Thanks for the patch by David Härdeman <david@2gen.com>. + + * update.conf: Allow to make "update-initramfs -u" an noop. Useful for + conservative settings of a remote server. (closes: 362064) urgency high. + Thanks Manoj Srivastava <srivasta@debian.org> for the tough testing. + + * update-initramfs.conf.5: Document the new update_initramfs variable. + + * update-initramfs: Kope with stupid mv of grub to /usr/sbin. + + * manpages: Get a banana and mark myself as author. + + * update-initramfs: version_exists needs not only to check for existing + sha1sum, but also initramfs. (closes: 382472) + + -- maximilian attems <maks@sternwelten.at> Fri, 13 Oct 2006 09:38:27 +0200 + +initramfs-tools (0.82) unstable; urgency=high + + * Merge 0.69ubuntu15, plus 0.69ubuntu14 and 0.69ubuntu11 changelog entries + as not affected or already fixed. + + * hook-initramfs: Add qla4xxx support, thus urgency high. + + -- maximilian attems <maks@sternwelten.at> Thu, 5 Oct 2006 16:12:06 +0200 + +initramfs-tools (0.81) unstable; urgency=low + + Release quick and happy spin j = l + s + + * update-initramfs: Really check for mounted /proc on use. (closes: 388241) + Thanks Alex Owen <r.alex.owen@gmail.com>. While beeing in this business, + check for mounted proc in initramfs-tools.preinst too. + + * hook-functions: Add new scsi drivers aic94xx and stex. Add new net drivers + ehea, ep93xx_eth and qla3xxx. Thus urgency high. + + * update-initramfs: Use set ``--'' to change positional paramaters. Thanks + Jörg Sommer <joerg@alea.gnuu.de>. (closes: 389726) + + * scripts/nfs: Revert to previous handling of dhcp server passing server-ip. + (closes: 387808) + + * debian/initramfs-tools.preinst: Fix comment typo, thanks + shaulka@012.net.il for the patch. (closes: 389486) + + * mkinitramfs: Allow an hook script to set an paranoid umask, considered + useful for shipping gpg keys inside of initramfs. Thanks Max Vozeler + <max@nusquama.org> and Lionel Elie Mamane <lionel@mamane.lu> for the + patch. (closes: 381677) + + -- maximilian attems <maks@sternwelten.at> Wed, 27 Sep 2006 15:56:46 +0200 + +initramfs-tools (0.80) unstable; urgency=high + + Release "O partigiano, portami via, che mi sento di morir." + + * update-initramfs: Test for lilo executable earlier otherwise an warning + would be issued with grub installed and left over lilo config. + + * hook-functions: Add lasi700 to the scsi modules. (closes: 387909) Thanks + Nagilum <nagilum@nagilum.org>. Thus urgency high. + + * scripts/nfs: Fix typo in ipconfig protocol handling, fix dhcp server + passing ser-ip as part of root-path, retry every second to not hammer + an FAI'ed nfs initramfs network. Thanks for input and patches + Vagrant Cascadian <vagrant+bugs@freegeek.org>. While we are there refactor + the loop. (closes: 387841, 387808, 387809) + + * update-initramfs: Check if /proc is mounted for ro_boot_check. + + -- maximilian attems <maks@sternwelten.at> Tue, 19 Sep 2006 07:56:47 +0200 + +initramfs-tools (0.79) unstable; urgency=high + + * update-initramfs: Allow create and delete to work on "all" kernelversions. + Fixes bug on update to pass all the specified optional args. + Thanks to Osamu Aoki <osamu@debian.org> for the patch. (closes: 360281) + Improve it to parse args once and also highlight 'all' on usage. + + * update-initramfs.8: Document usage of "all" + add example section. + + * update-initramfs: On update check if /boot is ro, warn and exit. + Thanks to Alexander Wirt <formorer@debian.org> to improve the awk snippet. + + * update-initramfs: run_lilo don't return 1 if no lilo executable is there. + Thanks "Peter D. St. Onge" <pete.stonge@utoronto.ca> for the report. + (closes: 386999) + + -- maximilian attems <maks@sternwelten.at> Mon, 11 Sep 2006 22:11:54 +0200 + +initramfs-tools (0.78) unstable; urgency=medium + + * update-initramfs: Check in call_lilo() if /sbin/lilo is executable, + when /etc/lilo.conf exists (closes: 384967) - thus urgency medium. + + * init: Guard all dirs against creation. (closes: 385281) + + * debian/scripts: Add /etc/kernel-img.conf section, as update-initramfs + needs to act according to it. + + * scripts/nfs: Fix parsing of etherboot ip options. Based on a patch by + to Vagrant Cascadian <vagrant+bugs@freegeek.org>. (closes: 385252) + + * scripts/nfs: No need to duplicate work of ntfsmount. Thanks for the patch + to Vagrant Cascadian <vagrant+bugs@freegeek.org>. (closes: 385226) + + * scripts/nfs: Add an sleep 0.1 in the retry loop to slow down retry + attempts. Only log "Retrying .." after first run. Use init variable. + (closes: 385624) + + * init: Reorder the early mknod after tmpfs mount. (closes: 385641) + + * initramfs.conf.5, mkinitramfs, scripts/local, scripts/local-top/mdrun, + scripts/nfs, update-initramfs.8, debian/changelog: Whitespace policy. + + -- maximilian attems <maks@sternwelten.at> Mon, 4 Sep 2006 17:38:13 +0200 + +initramfs-tools (0.77b) unstable; urgency=high + + * mkinitramfs: Fix destination of mdrun.conf. Thanks for the report to + Scott Glenn <s103@webmasters.com>. Urgency high as broken in testing + too and needed for partial mdadm upgrades. (closes: 385406) + + -- maximilian attems <maks@sternwelten.at> Thu, 31 Aug 2006 13:20:51 +0200 + +initramfs-tools (0.77) unstable; urgency=medium + + * mkinitramfs, scripts/local-top/mdrun: Use mdrun.conf as config file. + Ship mdrun unconditionally if around, should help in recovery situations. + + * debian/initramfs-tools.postinst, hook-functions, mkinitramfs, + scripts/local, update-initramfs: Cleanup the "-a" and "-o" bashism. + + * scripts/nfs: Retry to mount NFS on eventual failure. (closes: 377643) + Based on a patch by Vagrant Cascadian <vagrant+bugs@freegeek.org>. + + * init: Make sure there is an /dev and /root. Usually passed by the kernel. + Also /dev/null or /dev/console might already be shipped. + Based on a patch by David Härdeman <david@2gen.com>. (closes: 340494) + + * scripts/local-top/lvm: Fix prereqs s/mdraid/mdrun, thus urgency medium. + Thanks Rainer Gauweiler <debian@moppl.inka.de> for the notice. + + -- maximilian attems <maks@sternwelten.at> Fri, 25 Aug 2006 16:55:56 +0200 + +initramfs-tools (0.76) unstable; urgency=medium + + * debian/control: Tighten klibc to 1.4.19-2 for fixed nuke. (closes: 383730) + + * mkinitramfs: Only hard code root when root arg got passed. + + * init: Parse /proc/cmdline for rootfstype, initrd-tools did it too. + + * init: Parse /proc/cmdline for rootdelay. + + * scripts/local: Use eventual rootfstype and rootdelay info. + + * initramfs-tools.8: Add more docs about boot args, s/2.6.15/2.6.17/. + + * scripts/functions: Simplify parse_numeric() by arithmetic calculation, + instead of working on it's representation. Thanks to tarski. + (launchpad.net/21759) Much more elegant than the 0.58 version fix. + + * mkinitramfs: Parse rootraid for sarge compatibility and pass the info + to the initramfs if etch mdadm is not yet installed. + + * scripts/local-top/mdrun: Assemble the root raid first before mdrun. + Thanks martin f krafft <madduck@debian.org>. (closes: 383908, 384063) + + * update-initramfs: Check if /etc/kernel-img.conf is readable, + before attempting to parse also check for the right field. + + * init: Check for root=/dev/nfs. Parse ip kernel command line for nfsroot. + Drop undocumented and not compliant nfsopts. + + * scripts/nfs: Add ip parsing conforming to Documentation/nfsroot.txt. + Use the nfsroot bootparam in combination with eventual ip provided + device or server-ip. Do minor code cleanups. Both items based on patches + by Vagrant Cascadian <vagrant+bugs@freegeek.org>. (closes: 380649) + + * Set urgency medium due to large number of serious bug fixes. + + -- maximilian attems <maks@sternwelten.at> Wed, 23 Aug 2006 08:17:51 +0200 + +initramfs-tools (0.75) unstable; urgency=high + + * hook-functions: Add megaraid_sas to the scsi list. Thanks Kenshi Muto + <kmuto@debian.org>. + + * init: Parse for "panic=<timeout>" bootarg. + + * hook-functions: Immediately call reboot in the panic function if panic=0 + to disallow any console access for secured boxes. (closes: 378455) + + * debian/TODO: Update to current state + + * update-initramfs: do_bootloader can be set mixed case or upper case. + Catch the obvious Yes and YES too. + + * hook-functions: Really include DAC960 driver. Thanks Tim Small + <tim@buttersideup.com>. (closes: 383486) 2 module fixes thus urgency high. + + -- maximilian attems <maks@sternwelten.at> Fri, 18 Aug 2006 15:35:09 +0200 + +initramfs-tools (0.74) unstable; urgency=low + + * scripts/local-premount/resume: Reuse klibc resume, hardcode path as + uswsusp shipps too an resume binary in initramfs-tools. Thus tighten + again klibc dep to 1.4.11-1. (closes: 381535) + + * mkinitramfs: Readd mdrun when around. + + * scripts/local-top/mdrun: Rename from mdraid. Use mdrun as previously, + there is no guarantee that the sarge mdadm works and that the sarge + mdadm.conf has any sense. + + * debian/control: Better package description. + + * scripts/local: mountroot add message what to check if root is not found + in 2 straight lines to keep as much of scrolling buffer. + + * scripts/functions: Use set ``--'' to change positional paramaters without + changing any options. This is useful for the debug bootparam on d?ash. + + * update-initramfs: Respect "do_bootloader = yes" from /etc/kernel-img.conf + to call lilo if both lilo and grub are installed. (closes: 382013) + + -- maximilian attems <maks@sternwelten.at> Thu, 17 Aug 2006 16:50:51 +0200 + +initramfs-tools (0.73e) unstable; urgency=high + + * mkinitramfs: Fix if statement for conf.d. (closes: 382740) + + -- maximilian attems <maks@sternwelten.at> Sun, 13 Aug 2006 10:05:10 +0200 + +initramfs-tools (0.73d) unstable; urgency=high + + * scripts/local-top/mdraid: Fix path of expected mdadm config file. + Thanks Daniel Dickinson <cshore@wightman.ca> for report. (closes: 382602) + + * mkinitramfs: Treat /usr/share/initramfs-tools/conf.d config snippets as + the configuration files in /etc/initramfs-tools/conf.d. A configuration + file with the same name will override the first. (closes: 381315) + Thanks Vagrant Cascadian <vagrant+bugs@freegeek.org> for the patch. + + * mkinitramfs.8: Document conf.d existence. + + * hooks/lvm: Really remove it, logic is in mkinitramfs. + + * urgency high for the mdraid bug fix, rest is trivial. + + -- maximilian attems <maks@sternwelten.at> Sat, 12 Aug 2006 09:43:55 +0200 + +initramfs-tools (0.73c) unstable; urgency=low + + * scripts/local-premount/resume: Revert klibc-utils resume usage until + breakage cause is known. Thus downgrade klibc dep to 1.4.8-0. Thanks + Steinar H. Gunderson <sesse@debian.org> for report. (closes: #381475) + + -- maximilian attems <maks@sternwelten.at> Sat, 5 Aug 2006 09:31:16 +0200 + +initramfs-tools (0.73b) unstable; urgency=high + + * Revert nfs change in 0.70: Debian busybox is build with CONFIG_NFSMOUNT=n. + Reuse nfsmount from klibc. nfsroot parsing needs more care for the next + release. Now at least support those users where nfs previously worked. + Thanks Vagrant Cascadian <vagrant+bugs@freegeek.org> for report. + (closes: 380686). High urgency to get this into testing. + + -- maximilian attems <maks@sternwelten.at> Fri, 4 Aug 2006 09:53:46 +0200 + +initramfs-tools (0.73) unstable; urgency=high + + * debian/initramfs-tools.postrm: Don't forget to remove config file + modules on purge. Thanks piuparts verification. + + * mkinitramfs: Add sections that deals with sarge mdadm and lvm2. + Does nothing if etch package hooks are installed, will be dropped + postetch as then we upgrade from mdadm and lvm2 packages with hooks. + Taken from Dapper initramfs-tools-0.40ubuntu32. Adapt to add more + modules and no need for mdrun. + + * hooks/lvm: Remove handled by mkinitramfs itself. + + * scripts/local-top/lvm: Add prereqs lvm2 + mdraid. Exit if lvm2 hook is + present. Eases transition of lvm hooks to lvm2. + + * scripts/local-top/mdraid: Enable all raid devices. Add mdadm as prereqs. + Only run if no mdadm hook is in initramfs. (closes: 380089) + + * urgency high upload to get RC fixes into testing. + + -- maximilian attems <maks@sternwelten.at> Sat, 29 Jul 2006 13:35:43 +0200 + +initramfs-tools (0.72) unstable; urgency=low + + * Add scripts/init-top/framebuffer, reduces ubuntu diff even more. + fb is only activated with splash or vga boot param. + * Upload sponsored by Petter Reinholdtsen. + + -- maximilian attems <maks@sternwelten.at> Tue, 25 Jul 2006 09:11:18 +0200 + +initramfs-tools (0.71b) unstable; urgency=low + + * This time caught on bzr dotfiles, removed. + Thanks a lot to Frederik Schüler <fs@debian.org> for review. + + -- maximilian attems <maks@sternwelten.at> Mon, 24 Jul 2006 15:06:04 +0200 + +initramfs-tools (0.71) unstable; urgency=low + + * initramfs.conf.5, initramfs-tools.8, mkinitramfs.8, mkinitramfs-kpkg.8, + update-initramfs.8: Fix spacing in the SEE ALSO section and have this + section everywhere as last. Fix linebreak in mkinitramfs.8 options. + Thanks Martin Michlmayr <tbm@cyrius.com> for the notice. + + * scripts/functions: Use shell parameter expansion to strip known dir + prefix instead of gratious basename call. + + * scripts/functions: On panic call open the rescue shell with -i to get + dash interactive features. ash from busybox ignores the param. + Thanks David Härdeman <david@2gen.com> for the suggestion. + + * conf/initramfs.conf: Readd BUSYBOX=y section. Beware that a lot of boot + scripts need busybox and the current default image still does too. + + * initramfs.conf: Document BUSYBOX usage. + + * init: Add variable quoting around resume, NORESUME parsing and checks. + + * hook-functions: Add myri10ge and smc911x to the net section. Add hptiop to + the scsi section. + + * update-initramfs: Fix -v usage by not passing quoted ${OPTS} as one + option. Thanks Famelis George <famelis@otenet.gr> for the patch. + (closes: 379212) + + * mkinitramfs: Really source /usr/share/initramfs-tools/conf.d/ entries. + + * mkinitramfs: Check against modules.dep before invoking depmod. + + * hook-functions: check_minkver() only needs to call init_list(), + when a dir gets passed. Clean up check_minkver() logic. + + * scripts/function, mkinitramfs: Add output on verbose mode. + + * merge 0.69ubuntu4. + + * scripts/local-top/lvm: Prereqs s/md/mdadm/ for the new hooks. + + -- maximilian attems <maks@sternwelten.at> Mon, 24 Jul 2006 09:10:53 +0200 + +initramfs-tools (0.70b) unstable; urgency=low + + * Be more careful about vi dot files, removed. + Thanks Frederik Schüler <fs@debian.org> for review. + + -- maximilian attems <maks@sternwelten.at> Wed, 19 Jul 2006 16:00:47 +0200 + +initramfs-tools (0.70) unstable; urgency=low + + * mkinitramfs: Don't include static kinit, nor gzip. They are the biggest + klibc-utils binaries and we don't use them. Keep static gunzip, zcat and + shared kinit for now. + + * Reduce diff against 0.69ubuntu3: + - hook-functions: Fix kernel typo. + - hooks/kernelextras: Fix comment and add vga16fb too. + - init: Whitespace cleanup, add one more quiet check. + - mkinitramfs: Use check_minkver instead of dpkg itself. Whitespace + cleanup and add quoting. + - scripts/local: Whitespace cleanup and add a comment. + - scripts/nfs: Use mount with nolock instead of nfsmount. + (closes: 359926) + - update-initramfs: Add quoting + whitespace fix. + - changelog: for noise reduction add 0.69ubuntu{1,2,3}, all 0.40ubuntu*, + 0.36ubuntu1 and missing 0.29 + 0.28 entries. + - initramfs-tools.install, initramfs-tools.postinst and + initramfs-tools.preinst merge 0.69ubuntu3. + + * break.txt, debian/NEWS, debian/changelog, debian/copyright, + docs/example_hook, docs/example_hook_cpiogz, docs/example_script, + hooks/lvm, hooks/md, init, initramfs-tools.8, initramfs.conf.5, + mkinitramfs, mkinitramfs-kpkg, mkinitramfs-kpkg.8, mkinitramfs.8, + scripts/functions, scripts/local-top/udev_helper, update-initramfs, + update-initramfs.8: Cleanup trailing whitespace and non tabular indents. + + * scripts/local-premount/resume: Use new resume bin from klibc-utils. + Removes superflous stat and awk usage. + + * debian/control: Depend against newer klibc-utils 1.4.11-1. + + * hooks/md, scripts/local-top/md: Drop as mdadm > 2.5-1 features them. + (closes: #367567) + + -- maximilian attems <maks@sternwelten.at> Wed, 19 Jul 2006 11:09:52 +0200 + +initramfs-tools (0.69b) unstable; urgency=high + + * debian/initramfs-tools.preinst: Don't depend upon shipped directories + to be existing. Thanks Colin Watson <cjwatson@debian.org> for patch. + Add trailing slash to copy command. (closes: 378089) + + * mkinitramfs: Revert the removal of kernel-package supported lonng param + of 0.65. Readd that plain ugly interface. Warn users they should use + ramdisk=mkinitramfs-kpkg. As kernel-package doesn't yet support + update-initramfs. Thanks Frans Pop <fjp@debian.org> for report. + + * debian/bug: Rename to script so that it shows up in reportbug. + Fix debian/initramfs-tools.install accordingly. + + * Thus high urgency upload. + + -- maximilian attems <maks@sternwelten.at> Fri, 14 Jul 2006 00:31:30 +0200 + +initramfs-tools (0.69ubuntu22) feisty; urgency=low + + * For copy_module_dir, actually call manual_module for each one, so deps are + taken care of. + + -- Ben Collins <bcollins@ubuntu.com> Thu, 23 Nov 2006 02:10:29 -0500 + +initramfs-tools (0.69ubuntu16) edgy; urgency=low + + * Bring in preinst fixes from Debian, including s/configure/install/ in + preinst, since preinst is never called with "configure", and checking + for /proc/swaps before we blindly try to read it to determine RESUME. + * Do away with the bogus '-n "$2"' test in preinst, since "install" can + be called without any arguments at all (and often is, on a clean setup) + * On upgrades, revert the RESUME mangling that dapper's d-i did to our + config file, avoiding spurious conffile prompts (launchpad.net/63693) + + -- Adam Conrad <adconrad@ubuntu.com> Mon, 16 Oct 2006 17:23:41 +1000 + +initramfs-tools (0.69ubuntu15) edgy; urgency=low + + * Add jmicron module to ide list. + - Malone #63085 + + -- Ben Collins <bcollins@ubuntu.com> Wed, 4 Oct 2006 09:21:08 -0400 + +initramfs-tools (0.69ubuntu14) edgy; urgency=low + + * Remove stray "set -x" from scripts/local-premount/suspend. + + -- Adam Conrad <adconrad@ubuntu.com> Wed, 20 Sep 2006 08:35:05 +1000 + +initramfs-tools (0.69ubuntu11) edgy; urgency=low + + * since we ship /usr/share/initramfs-tools/conf.d as well as + /etc/initramfs-tools/conf.d, make sure mkinitramfs also reads from both, + not only from the /etc location + + -- Oliver Grawert <ogra@ubuntu.com> Sun, 10 Sep 2006 11:50:14 +0200 + +initramfs-tools (0.69ubuntu10) edgy; urgency=low + + * Create framebuffer device nodes unconditionally + + -- Matthew Garrett <mjg59@srcf.ucam.org> Tue, 5 Sep 2006 17:50:53 +0100 + +initramfs-tools (0.69ubuntu4) edgy; urgency=low + + * scripts/local-premount/suspend: Check for UUID= or LABEL= on the + start of $resume, and use /dev/disk/by-{uuid,label} if found. + + -- Scott James Remnant <scott@ubuntu.com> Fri, 21 Jul 2006 17:58:34 +0100 + +initramfs-tools (0.69ubuntu3) edgy; urgency=low + + * debian/initramfs-tools.install, debian/initramfs-tools.preinst, + debian/initramfs-tools.postinst: Copy default modules file in the + postinst (when it's actually available) rather than in the preinst (when + it isn't). Copy it from /usr/share/initramfs-tools/ rather than from + /usr/share/doc/initramfs-tools/examples/, per policy. + + -- Colin Watson <cjwatson@ubuntu.com> Thu, 13 Jul 2006 10:04:26 +0100 + +initramfs-tools (0.69ubuntu2) edgy; urgency=low + + * debian/initramfs-tools.preinst: Make sure /etc/initramfs-tools and + /etc/initramfs-tools/conf.d exist before trying to write to them. + + -- Colin Watson <cjwatson@ubuntu.com> Thu, 13 Jul 2006 09:19:05 +0100 + +initramfs-tools (0.69ubuntu1) edgy; urgency=low + + [ Jeff Bailey ] + * Merge from debian unstable. + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 12 Jul 2006 19:22:22 -0400 + +initramfs-tools (0.69) unstable; urgency=low + + * scripts/local-premount/suspend, scripts/local-premount/resume: Rename + to the later as the script resumes from resume arg. + + * init: Parse for noresume and only export resume if it is not set. + Allows boot scripts to check for it's eventual existence. + Thanks David Härdeman <david@2gen.com> for the suggestion. + + * update-initramfs: Add option "-b directory" to override BOOTDIR. + Allows the initramfs to be created in another dir without awkward + mkinitramfs invocation. Check that the passed arg is really a dir. + (ubuntu: 37690) Thanks Colin Watson <cjwatson@debian.org> + + * update-initramfs.8: Document -b switch. + + -- maximilian attems <maks@sternwelten.at> Wed, 12 Jul 2006 16:51:49 +0200 + +initramfs-tools (0.68b) unstable; urgency=high + + * script/functions, hook-functions: Move check_minkver() to the second + file as it uses dpkg and is run by mkinitramfs and not on boot. + + * mkinitramfs: Check if ${BUSYBOX} is set to n before adding it. + Add a big fat warning that this not yet supported. Helps to do the + klibc-utils work. + + * mkinitramfs: Run depmod if no /lib/modules/${version}/modules.dep exists. + Solves initramfs creation for handbuild upstream Xen targets. + Thanks to Klaus Ita <ita@ai.wu-wien.ac.at> for the report. + + * debian/initramfs-tools.preinst, debian/initramfs-tools.postinst: Do the + migration of the mkinitrd settings in the preinst. (closes: #376604) Thanks + for the checks to Justin Pryzby <justinpryzby@users.sourceforge.net>. + + * debian/initramfs-tools.preinst: Reorder. Generate an modules file similar + to the one we ship. This should minimize Sarge upgrade prompting if no + relevant modules where added to /etc/mkinitrd/modules. + + * conf/modules: Make it more similar to /etc/mkinitrd/modules. + + * Set urgency high for RC fixes upload. + Thanks Steinar H. Gunderson <sesse@debian.org> for the review. + + -- maximilian attems <maks@sternwelten.at> Mon, 10 Jul 2006 00:13:52 +0200 + +initramfs-tools (0.67) unstable; urgency=high + + Release bella, ciao, ciao, ciao! + + * scripts/local: Fix typo in log_begin_msg. (closes: #375880) + + * update-initramfs: Generate initramfs for current version if there is no + sha1sum and no initrd exists yet - regression from 0.65. (closes: #375671) + Thanks martin f krafft <madduck@debian.org> for report. + + * conf/initramfs.conf, initramfs.conf(5): Drop RESUME section. + + * debian/initramfs-tools.preinst: Don't modify conffile initramfs.tools - + drop the corresponding code. (closes: #376008) + + * initramfs-tools(8): Document that RESUME is tried to be autodected and + written to /etc/initramfs-tools/conf.d/resume on install. + + * scripts/functions: Replace expr use with printf for skipping comments on + /etc/modules. Works on both busybox ash and klibc dash. Prefix space is + ignored by both. + + * scripts/local-top/lvm: Remove harmless warnings if a volumegroup is under + /dev/mapper but not an lvm device. (closes: 376311) + Thanks David Härdeman <david@2gen.com> for the patch. + + * scripts/local-top/lvm: Change activate_vg() to return 1 if no volumegroup + is found. + + * debian/initramfs-tools.dirs: Add usr/share/initramfs-tools/conf.d entry. + + * mkinitramfs: Add stuff to the conf.d directory also from aboves directory. + + * Set urgency to high to get the RC bugfix into testing. + + -- maximilian attems <maks@sternwelten.at> Sun, 2 Jul 2006 18:35:34 +0200 + +initramfs-tools (0.66) unstable; urgency=low + + * hooks/thermal: Add i2c-powermac. + + * scripts/init-premount/thermal: Load i2c-powermac on ppc boot. + Fixes fan noises for Sven Luther <svenl@debian.org> + + * scripts/function: Fix typo s/FS1/PS1/ on panic call. (closes: #375624) + Thanks to Tim Phipps <tim@phipps-hutton.freeserve.co.uk> for the report. + + * scripts/local-top/lvm: Refix lilo check. (closes: #375786) + Thanks to the patch from Christian Weeks <christian.weeks@oracle.com>. + + -- maximilian attems <maks@sternwelten.at> Wed, 28 Jun 2006 12:11:49 +0200 + +initramfs-tools (0.65b) unstable; urgency=low + + * scripts/local-top/lvm: Load snapshot and mirror modules. (Closes: #375342) + + * scripts/local-top/lvm: Fix a wrong substitution for the lilo test. + (Closes: #375442) + + -- maximilian attems <maks@sternwelten.at> Mon, 26 Jun 2006 14:54:30 +0200 + +initramfs-tools (0.65) unstable; urgency=low + + * scripts/local-top/lvm: Activate root and resume volume group. + The initialization got refractored in an function. (closes: #374891) + Thanks for the patch to David Härdeman <david@2gen.com>. + + * scripts/local-top/lvm: Be careful to activate volume group on lilo boot + too. Although in that case we don't know the precise volume group, we + activate them all. Matches behaviour of previous hook. + + * hooks/lvm: Add dm-mirror, allows to boot from an unfinished pvmove. + (closes: #374378) + + * mkinitramfs: Remove old kernel-package supported long param. + kernel-package uses since 10.036 mkinitramfs-kpkg. + + * update-initramfs: Show by default which initramfs gets generated. + (closes: #364301) + + * Resync with 0.40ubuntu32: + - Make prereqs conditional on the script/hook actually existing. From + now on, this means that 'PREREQ="udev"' means "run udev first, iff it + happens to be installed". Having the files exist on the filesystem if + you have a HARD dependency should be enforced with package dependencies. + (closes: #369617) + - Make "update-initramfs -u" try to find the running kernel *after* it + attempts to search the symbolic link list and its own sha1 list. + Using this as a fallback, rather than the default, should solve most + upgrade issues, where people found their initramfs was half-baked. + - Abstract out the kernel minversion checking stuff into the function + library, so we can reuse it to check minversion requirements for hook + scripts as well (such as udev, which requires >= 2.6.15 in dapper) + - Bump the kernel minversion to 2.6.15 on hppa and ia64, since they used + initrd-tools with their 2.6.12 kernels in breezy, not initramfs-tools. + - If mkinitramfs fails due to minversion not being met, don't bail out + of update-initramfs, but just exit 0, so upgrades don't halt on it. + + * debian/initramfs-tools.postrm: We no longer need to explicitly remove + /etc/initramfs-tools/modules. + + -- maximilian attems <maks@sternwelten.at> Sat, 24 Jun 2006 13:27:49 +0200 + +initramfs-tools (0.64) unstable; urgency=low + + RELEASE o bella, ciao! bella, ciao! + + * debian/initramfs-tools.install: Add /etc/initramfs-tools/modules conffile, + instead of a cp from postinstall. (closes: #368043) + + * debian/control, update-initramfs.8, mkinitramfs.8: Capitalize RAM + NFS. + Rephrase nfs root support. + + Thanks to Jeff Bailey <jbailey@raspberryginger.com> and + Steinar H. Gunderson <sesse@debian.org> for the review. + + -- maximilian attems <maks@sternwelten.at> Thu, 22 Jun 2006 20:45:59 +0200 + +initramfs-tools (0.63) unstable; urgency=low + + * init: Use redirection '>' for touching /dev/.initramfs-tools. + + * debian/control, update-initramfs.8, mkinitramfs.8: + s/an (cpio archive)/a gzipped \1/. + Thanks to Andy Somerville <andy.somerville@gmail.com>. + + -- maximilian attems <maks@sternwelten.at> Thu, 22 Jun 2006 01:11:17 +0200 + +initramfs-tools (0.62) unstable; urgency=low + + * debian/control: We need at least udev 0.086-1, since earlier versions + had hooks, which don't load ide-disk automatically for 2.6.15 kernels. + Can't lower dependency to sarge version as it has no coldplug support + to escape udev dependency loop on upgrade. (closes: #358360, #362816) + + * hook-functions: Add arcmsr to the scsi modules list. + + * debian/NEWS: Add Notice about confdir mv as version 0.61. + + -- maximilian attems <maks@sternwelten.at> Wed, 21 Jun 2006 09:22:23 +0200 + +initramfs-tools (0.61) unstable; urgency=low + + Release "O partigiano portami via" + + * debian/TODO: update to latest state. + + * debian/bug: Fix reportbug script shebang line, add some descriptive echos. + Use exec to open file descriptor 3 for reportbug. + + * debian/control: Pump to 3.7.2 standard version without changes. + + * init: Use 10M as tmpfs_size for the udev /dev, that can be overriden in + /etc/udev/udev.conf. (closes: #352434) + + * /etc/initramfs-tools: Use the much more intituive conf dir location. + Thanks for the idea to Andres Salomon <dilinger@debian.org>. + + * debian/initramfs-tools.preinst: mv /etc/mkinitramfs /etc/initramfs-tools + on upgrade as this should work even with drive space issues. + Thanks to Jeff Bailey <jbailey@raspberryginger.com> for the posix atomic + mv hint and Daniel Blaschke <blaschke@hep.itp.tuwien.ac.at> for testing. + + * mkinitramfs: Set CONFDIR to /etc/initramfs-tools. + + * mkinitramfs.8, initramfs-tools.8: Document the new pathes. + + * debian/control: Change Build-depends-indep to Build-depends as we need + debhelper and cdbs for the clean target, fulfills policy 7.6. + + * debian/initramfs-tools.preinst: Warn and bail out if /etc/initramfs-tools + already exists. + + -- maximilian attems <maks@sternwelten.at> Thu, 18 May 2006 17:27:44 +0200 + +initramfs-tools (0.60) unstable; urgency=low + + "E ho trovato l'invasor" + + * scripts/functions: Allow boot scripts to modify exported boot parameters. + Thanks David Härdeman <david@2gen.com> for the patch. (closes: 348147) + This allows the inclusion of cryptoroot hooks to cryptsetup! + + * init: add cryptopts parsing and export. + + * init: Move parse_numeric down to the "mounting root" block. + + * init, scripts/local: Allow rootflags to be passed in kernel cmdline. + Thanks Thomas Luzat <thomas.luzat@gmx.net> for the patch. (closes: #358917) + + * init: Allow passing nfs root mount option in kernel cmdline. Thanks + Brian Brunswick <bdb@forbidden.co.uk> for the patch. (closes: #358649) + + * update-initramfs: s/ALL/all/, fix it to actually run on update in non + verbose mode. (closes: #362568) + + * update-initramfs: Warn in big letters about grub and lilo installs. + (closes: #362816) + + * debian/bug: Add reportbug script with info about cmdline, fs and lsmod. + + * initramfs-tools(8): Document the /conf/param.conf feature. + + * mkinitramfs-kpkg(8): Spell out, why the wrapper script is needed. + + -- maximilian attems <maks@sternwelten.at> Tue, 18 Apr 2006 13:33:18 +0200 + +initramfs-tools (0.59b) unstable; urgency=low + + * mkinitramfs-kpkg: Intialialize the variables. + (closes: #359355, #359620, #359613, #359666, #359681) + + -- maximilian attems <maks@sternwelten.at> Tue, 28 Mar 2006 16:30:59 +0200 + +initramfs-tools (0.59) unstable; urgency=low + + * debian/copyright: Add years of copyright and authors. + + * Resync with 0.40ubuntu28: + - hooks/md: Add raid10 module. + - scripts/local: Move the "loop waiting for the root filesystem" code from + the udev premount script to the local mountroot() function where it truly + belongs. + - scripts/local-top/udev_helper: Leave the remaining ide-generic part + there, should be taken over by udev itself. + - make the md local-top scripts pre-requisite the udev one. + thanks Scott James Remnant <scott@ubuntu.com> + + -- maximilian attems <maks@sternwelten.at> Sun, 26 Mar 2006 22:35:15 +0200 + +initramfs-tools (0.58) unstable; urgency=low + + * hook-functions: Be more carefull about the minor parsing. The fix of + #357332 works for 3 digit roots, but not for hdc6 aka root=1606. + Thanks Martijn Pieters <mj@zopatista.com> for report + (closes: #358354, #358740). + + * hook-functions: Add gdth to the scsi modules. + + * mkinitramfs-kpkg: Use set -eu to capture full /boot. + Really (closes: #350875) + + * Add dependency on module-init-tools. (closes: #358632) + + * Don't include full path for man page reference. (closes: #358371) + + -- maximilian attems <maks@sternwelten.at> Sun, 26 Mar 2006 16:39:37 +0200 + +initramfs-tools (0.57b) unstable; urgency=low + + * mkinitramfs, update-initramfs, hook-functions: + On verbose mode show, which modules gets added to the initramfs. + + * hook-functions: Add cpqarray to the scsi modules - thanks for the patch + to Petter Reinholdtsen <pere@hungry.com>. (closes: #357980) + + * initramfs-tools.8: Document that `-' is not allowed to be used in a script + filename - the filenames get used as shell variable. (closes: #344639) + + * mkinitramfs: Don't exit succesfully in a case of a full fs. Leaves the + linux-image unconfigured. Thanks martin f krafft <madduck@debian.org> + for pointing to that potential boot failure. (closes: #350875) + + -- maximilian attems <maks@sternwelten.at> Tue, 21 Mar 2006 11:56:29 +0100 + +initramfs-tools (0.56) unstable; urgency=low + + * hooks/md: Add linear module - thanks to Moshe Yudkowsky <moshe@pobox.com>. + + * scripts/functions: Fix numerical minor parsing - thanks for the patch to + Wolfgang Weisselberg. (closes: #357332) + + * mkinitramfs.8: Correct wrong referenced filename. + + * update-initramfs.8: Define the argument 'version' - thanks to "Susan G. + Kleinmann" <sgk@debian.org>. (closes: #357282) + + * scripts/init-premount/udev_helper: Source the relevant definition to get + it really run. Thanks to Maurice Massar <massar@unix-ag.uni-kl.de>. + (closes: #357450) + + -- maximilian attems <maks@sternwelten.at> Fri, 17 Mar 2006 19:09:11 +0100 + +initramfs-tools (0.55b) unstable; urgency=low + + * Thanks to Frederik Schüler for pointing to leftovers. + + -- maximilian attems <maks@sternwelten.at> Wed, 15 Mar 2006 13:23:51 +0100 + +initramfs-tools (0.55) unstable; urgency=low + + * scripts/init-premount/udev_helper: Fix modprobe args. + Thanks Frans Pop <fjp@debian.org> for testing 0.54. + + * scripts/local: Use quiet to load the fs. (closes: #339092) + + * hook-functions: Really add the ieee1394 modules. + Thanks to Michael Prokop <mikap@grml.org> for testing the fix. + + * update-initramfs: Run lilo on updates if no grub is around. + Thanks Adeodato Simó <adeodato@debian.org> for finding the issue. + (Closes: #356850) + + -- maximilian attems <maks@sternwelten.at> Wed, 15 Mar 2006 11:29:12 +0100 + +initramfs-tools (0.54) unstable; urgency=low + + * hooks/lvm: lvm10 has also an vgchange - exit if no lvm2 libs. + (closes: #354708) + + * debian/copyright: Meniton current bzr archive. (closes: #352738) + + * hook-functions: Add dac960 scsi driver. (closes: #355162) + + * scripts/init-premount/udev_helper: add code by Scott James Remnant + <scott@ubuntu.com> from the ubuntu udev hook. We now wait on scsi + and usb devices to settle, load ide-generic on ide boot only if + no root device appeared. + The udev hook is adding ide.agent so no longer duplicate that code. + + * hook-functions: auto_add_modules, split 1000 char wide lines up. + Should allow better diffing. Splitting them out in proper files with + each modules / line costs too much initramfs generation time. + Should allow easier diffing. + + * hook-functions: Add sata_mv thanks Kenshi Muto <kmuto@debian.org>. + (closes: #355486) + + * hook-functions: Add dasd class to auto_add_modules and dd zfcp module. + Thanks to s390 support Bastian Blank <waldi@debian.org>. (closes: #355595) + + * hook-functions: Add it821x. (closes: #352460) + + -- maximilian attems <maks@sternwelten.at> Wed, 8 Mar 2006 17:34:25 +0100 + +initramfs-tools (0.53c) unstable; urgency=low + + * update-initramfs: Really reset takeover to zero. + + -- maximilian attems <maks@sternwelten.at> Mon, 6 Mar 2006 07:59:34 +0100 + +initramfs-tools (0.53b) unstable; urgency=low + + * scripts/init-premount/udev_helper: Renamed from udev-helper. + Thanks to Tollef Fog Heen <tfheen@err.no> (closes: #355235) + + -- maximilian attems <maks@sternwelten.at> Sat, 4 Mar 2006 15:26:13 +0100 + +initramfs-tools (0.53) unstable; urgency=high + + * update-initramfs: set_current_version needs to check against + /boot/initrd-`uname -r` and not /boot/vmlinu?-`uname -r`. + Otherwise this builds initramfs for newer handbuild trees too. + + * Resync with 0.40ubuntu24: + - New conf.d dir for config snippet. + - mptspi already included. + - keep nfsmount for now, we don't want to add further busybox deps. + - adds mptfc and mptsas modules (closes: #341930) + - adds MODULES=netboot support (closes: #352669) + * Further reduce ubuntudiff: + - scripts/functions: remove duplicate dir check. + - scripts/nfs: add quiet to modules loading. + + * mkinitramfs-kpkg: Add kernel-package compat stuff, behaves like mkinitramfs, + but adds the sha1sum for update-initramfs. Reset takeover=0. + (closes: #353809) Add small mkinitramf-kpkg.8. + + * init: Move the ROOT export up, so we actually source the hardcoded device + in initramfs.conf. (closes: #352958) + + * mkinitramfs: When invoked with -r switch pass the hardcoded root device to + /etc/mkinitramfs/conf.d/root inside the initramfs. + + * hook-functions: First shot at IEEE1394 support - add ohci1394 and sbp2. + + -- maximilian attems <maks@sternwelten.at> Mon, 27 Feb 2006 10:20:03 +0100 + +initramfs-tools (0.52b) unstable; urgency=high + + * update-initramfs: Set takeover=1. This allows hooks to regenerate the + latest initramfs per default. No need for an kpkg wrapper, as + kernel-package doesn't call update-initramfs, but mkinitramfs. + + -- maximilian attems <maks@sternwelten.at> Mon, 20 Feb 2006 13:30:54 +0100 + +initramfs-tools (0.52) unstable; urgency=low + + * hooks/lvm: manual_add_modules dm_snapshot, will allow boot from lvm + snapshot. + + * init: Fix maybe_break test for the bottom stage. + + * scripts/init-premount/udev-helper: Renamed from scripts/init-premount/ide. + + * update-initramfs: s/was/has/ been altered. + (closes: #351939, #352633, #353087, #353668) + + * update-initramfs(8), mkinitramfs(8): The point of the first is to be used + on your local box. Highlight its mode of operations. The second cmd is + only needed for advanced usage. + + -- maximilian attems <maks@sternwelten.at> Fri, 17 Feb 2006 21:41:11 +0100 + +initramfs-tools (0.51) unstable; urgency=low + + * scripts/functions: Call panic on circular deps to get rescue shell. + + * mkinitramfs: Use ${CONFDIR} everywhere. + + * Sync with 0.40ubuntu16: + - skip 0.40ubuntu15 udev gets fixed to only call update-initramfs + when /etc/mkinitramfs/initramfs.conf is there. + - 0.40ubuntu13 don't take over all initramfs images in Debian. + + * hook-functions: auto_add_modules atkb and i8042. + + * scripts/functions: on panic modprobe atkb and i8042 - work around for + broken configs, where those are not build in. (Closes: #337497) + + * scripts/functions: update_progress check if /dev/.initramfs/ exists + before writing into it. + + -- maximilian attems <maks@sternwelten.at> Tue, 24 Jan 2006 13:11:24 +0100 + +initramfs-tools (0.50c) unstable; urgency=low + + "E so io muoio da partigiano" + + * hook-functions: Fix MODULES=dep as `modprobe --show-depends' prints not + only the insmod commands, but also the install ones. Thanks for the patch + to Jean Charles Delepine <delepine@nnx.com>. (Closes: #342616) + + * hooks/evms, scripts/local-top/evms: EVMS takes care of it's own hooks, rm. + Thanks Steinar H. Gunderson <sesse@debian.org>. (Closes: 340258) + + -- maximilian attems <maks@sternwelten.at> Sat, 14 Jan 2006 17:40:48 +0100 + +initramfs-tools (0.49) unstable; urgency=low + + * Pump dephelper to 4.1.0 dependency as pointed out by linda. + + * initramfs-tools.8: Add DEBUG section, cheat how to check the initramfs. + + * Add optional sarge busybox-cvs-static dep to ease backport. + + -- maximilian attems <maks@sternwelten.at> Thu, 12 Jan 2006 17:28:42 +0100 + +initramfs-tools (0.48) unstable; urgency=low + + * mkinitramfs: klibc 1.1.14 moved from /usr/lib/klibc/lib to /lib + Bonus: You can now execute any klibc bin directly. + Cope with the move and pump dep. (Closes: 345949) + + -- maximilian attems <maks@sternwelten.at> Wed, 4 Jan 2006 16:11:25 +0100 + +initramfs-tools (0.47) unstable; urgency=low + + * mkinitramfs: Don't complain about missing /bin/sh - use rm -f. + Minor cleanup for the newer packaging of klibc 1.1.14. + + -- maximilian attems <maks@sternwelten.at> Sat, 31 Dec 2005 14:17:31 +0100 + +initramfs-tools (0.46) unstable; urgency=low + + * Don't include .bzr dirs in source upload. + Thanks Frederik Schüler <fs@debian.org> + + -- maximilian attems <maks@sternwelten.at> Thu, 29 Dec 2005 14:23:46 +0100 + +initramfs-tools (0.45) unstable; urgency=high + + "Che mi sento di morir." + + * Unset debug before calling init, confuses /etc/init.d/rc. + + * scripts/init-premount/ide: Load uncondionally for ide boots ide-generic + and also ide-disk, as udev ignores them. High urgency upload for rc bugs. + Thanks Frans Pop <fjp@debian.org> and Joey Hess <joeyh@debian.org> for + testing! (Closes: #332824, #342925, #344754, #337045, #338406) + + -- maximilian attems <maks@sternwelten.at> Thu, 29 Dec 2005 10:34:32 +0100 + +initramfs-tools (0.44) unstable; urgency=high + + "O partigiano portami via" + + * Urgency high upload to stay in sync with udev for testing. + + * initramfs.conf: Fix wording choice for resume option. (Closes: #337575) + + * hooks/kernelextras: Really fix #335505. + Don't expand wildcase to current dir. (Closes: #342153) + + * Add initramfs-tools.8 describing how the hooks of initramfs-tools work + and how to use them. Thanks David Härdeman <david@2gen.com> for the patch. + (Closes: #339091) + + * initramfs.conf.5, mkinitramfs.8, update-initramfs.8: Update + cross-references of the different manpages. + + * TODO: update to current state. + + * scripts/functions: remove old duplicate suspend support. + + * Sync with 0.40ubuntu8. (Closes: #337318) + - Revert the modprobe changes for now as modules-init-tools of + testing doesn't have yet the wanted interface. + + -- maximilian attems <maks@sternwelten.at> Mon, 12 Dec 2005 11:22:15 +0100 + +initramfs-tools (0.42) unstable; urgency=low + + * hook-functions: The mptspi module is required for at least some machines + that use the mptscsih. Thanks dann frazier <dannf@hp.com> for the patch. + (Closes: #341162) + + * Resync with 0.40ubuntu7. + - Do the udev split by hand as we have a different udev invocation + supporting linux < 2.6.15. Increment udev dep to the version with + initramfs hooks. + - Debian's klibc hasn't yet the nanosleep, waiting for unbroken + linux-headers. + - Don't remove resume support from /etc/mkinitramfs/initramfs.conf + even if bootloader setting is preferred. + + -- maximilian attems <maks@sternwelten.at> Mon, 5 Dec 2005 12:59:59 +0100 + +initramfs-tools (0.40ubuntu32) dapper; urgency=low + + * Revert 0.40ubuntu31. This isn't as trivial as it should be. + + -- Matt Zimmerman <mdz@ubuntu.com> Sun, 21 May 2006 10:17:50 -0700 + +initramfs-tools (0.40ubuntu31) dapper; urgency=low + + * scripts/local-premount/resume: Print a message when a resume is about to + begin (LP#41137) + + -- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 May 2006 15:14:53 -0700 + +initramfs-tools (0.40ubuntu30) dapper; urgency=low + + * This release brought to you by Fujitsu hard drives, which have forced + me to rewrite all my most recent initramfs-tools changes from memory. + * Include arcmsr module in the scsi module list (launchpad.net/40075) + * Abstract out the kernel minversion checking stuff into the function + library, so we can reuse it to check minversion requirements for hook + scripts as well (such as udev, which requires >= 2.6.15 in dapper) + * Bump the kernel minversion to 2.6.15 on hppa and ia64, since they used + initrd-tools with their 2.6.12 kernels in breezy, not initramfs-tools. + * If mkinitramfs fails due to minversion not being met, don't bail out + of update-initramfs, but just exit 0, so upgrades don't halt on it. + * Conditionalise the use of lvm and md in mkinitramfs so it's a no-op if + you don't have those packages installed, but allows for smooth upgrades + if you have older versions that don't ship their own hooks yet. + * Make prereqs conditional on the script/hook actually existing. From + now on, this means that 'PREREQ="udev"' means "run udev first, iff it + happens to be installed". Having the files exist on the filesystem if + you have a HARD dependency should be enforced with package dependencies. + * Add ohci1394 and sbp2 to the scsi module list (launchpad.net/37479) + * Move framebuffer setup from usplash to scripts/local-top/framebuffer + so that people booting with vga=1234 but no splash will still get a + framebuffer instead of a useless black console (launchpad.net/27669) + + -- Adam Conrad <adconrad@ubuntu.com> Tue, 16 May 2006 19:51:08 +1000 + +initramfs-tools (0.40ubuntu29) dapper; urgency=low + + * Make "update-initramfs -u" try to find the running kernel *after* it + attempts to search the symbolic link list and its own sha1 list. + Using this as a fallback, rather than the default, should solve most + upgrade issues, where people found their initramfs was half-baked. + + -- Adam Conrad <adconrad@ubuntu.com> Wed, 19 Apr 2006 13:51:35 +1000 + +initramfs-tools (0.40ubuntu28) dapper; urgency=low + + * Add raid10 module to the generic module list (launchpad.net/28028) + * Add cpqarray to the scsi module list (launchpad.net/{26632,35202}) + * Unset debug before we run the real init (launchpad.net/24095) + * Add the gdth module to the default scsi list (launchpad.net/31542) + + -- Adam Conrad <adconrad@ubuntu.com> Fri, 24 Mar 2006 04:33:44 +1100 + +initramfs-tools (0.40ubuntu27) dapper; urgency=low + + * Drop the evms, lvm and md local-top scripts; they're all provided by + their own packages now. This makes the depdencies rather nicer. + + -- Scott James Remnant <scott@ubuntu.com> Thu, 23 Mar 2006 18:04:48 +0000 + +initramfs-tools (0.40ubuntu26) dapper; urgency=low + + * Make the md and evms local-top scripts pre-requisite the udev one. + + -- Scott James Remnant <scott@ubuntu.com> Thu, 23 Mar 2006 17:54:32 +0000 + +initramfs-tools (0.40ubuntu25) dapper; urgency=low + + * Move the "loop waiting for the root filesystem" code from the udev + premount script to the local mountroot() function where it truly + belongs. + + -- Scott James Remnant <scott@ubuntu.com> Wed, 22 Mar 2006 16:28:46 +0000 + +initramfs-tools (0.40ubuntu24) dapper; urgency=low + + * Add support for LSI Logic's Fusion MPT SAS and FC controllers as well. + + -- Adam Conrad <adconrad@ubuntu.com> Thu, 23 Feb 2006 23:27:16 +1100 + +initramfs-tools (0.40ubuntu23) dapper; urgency=low + + * Grow a conf.d directory for config snippets, and toss the RESUME option + in there, to stop editing our own conffile in our maintainer scripts. + * Add a cleverly hackish preinst that will pull the RESUME setting from + old config files, migrate it to conf.d/resume, and reset that part of the + conffile to a factory fresh state. This should fix the unwanted conffile + prompt in breezy->dapper upgrades for people who made no local changes. + + -- Adam Conrad <adconrad@ubuntu.com> Fri, 17 Feb 2006 15:34:53 +1100 + +initramfs-tools (0.40ubuntu22) dapper; urgency=low + + * Add mptspi to the list of SCSI modules put in the initramfs by default, + which is required for some LSI Logic controllers and for the VMware SCSI + controller in recent VMware versions (See launchpad.net/{27187,31229}) + * Fix typo of /dev/disk/by-*, which I wrote as /dev/disks/by-{uuid,label} + * Load i2c-keywest before loading therm_pm72 in the PowerPC thermal hook, + since the latter sometimes needs the former (Closes launchpad.net/27269) + + -- Adam Conrad <adconrad@ubuntu.com> Tue, 14 Feb 2006 23:28:35 +1100 + +initramfs-tools (0.40ubuntu21) dapper; urgency=low + + * Don't update the progress bar once udev has taken /dev away; + after all, we can't contact usplash anyway at this point. + + -- Scott James Remnant <scott@ubuntu.com> Wed, 8 Feb 2006 14:34:10 +0000 + +initramfs-tools (0.40ubuntu20) dapper; urgency=low + + * Add ... to end of strings to match main boot sequence. + + -- Scott James Remnant <scott@ubuntu.com> Tue, 7 Feb 2006 11:07:50 +0000 + +initramfs-tools (0.40ubuntu19) dapper; urgency=low + + * Change the first of many "Loading modules" to "Loading essential drivers" + to improve debugging when people say it breaks at that stage. + + -- Scott James Remnant <scott@ubuntu.com> Tue, 7 Feb 2006 11:05:15 +0000 + +initramfs-tools (0.40ubuntu18) dapper; urgency=low + + * Add support for selecting root by UUID or LABEL with syntax such as: + root=LABEL=myrootfs or root=UUID=92addf34-0f02-4a0e-bfb2-cbaa1e907b77 + + -- Adam Conrad <adconrad@ubuntu.com> Fri, 3 Feb 2006 15:55:01 +0000 + +initramfs-tools (0.40ubuntu17) dapper; urgency=low + + * Make auto_add_modules take an argument, so you can use it to add only + some of the auto* modules (like "net" or "ide"), and create a "netboot" + option that only includes base and net (Closes launchpad.net/26426) + * Change the nfs script to use "mount -o nolock" instead of "nfsmount", + to fix some timeouts for ltsp NFS roots (Closes launchpad.net/19196) + + -- Adam Conrad <adconrad@ubuntu.com> Tue, 31 Jan 2006 11:55:11 +0000 + +initramfs-tools (0.40ubuntu16) dapper; urgency=low + + * Bump klibc-utils dependency to (>= 1.1.16-1), for hppa and ia64. + + -- Adam Conrad <adconrad@ubuntu.com> Thu, 19 Jan 2006 04:00:39 +1100 + +initramfs-tools (0.40ubuntu15) dapper; urgency=low + + * Drop the udev dependency, so we always get configured before udev. + We can get away with this now that udev hooks/scripts have been split + into the udev package proper. This should close Malone bug #28808. + + -- Adam Conrad <adconrad@ubuntu.com> Wed, 18 Jan 2006 22:50:27 +1100 + +initramfs-tools (0.40ubuntu14) dapper; urgency=low + + * If copy_exec is asked to copy to the same location twice, check if + we're copying the same file again. If so, do nothing and carry on, if + not, warn that we asked it for an impossibility, and don't overwrite. + + -- Adam Conrad <adconrad@ubuntu.com> Thu, 12 Jan 2006 18:00:12 +1100 + +initramfs-tools (0.40ubuntu13) dapper; urgency=low + + * Default to taking over other initramfs images in Ubuntu, as this is + more consistent with what our packaging expects to be able to do. + * Make "update-initramfs -u" try to find the running kernel before it + attempts to search the symbolic link list and its own sha1 list. + + -- Adam Conrad <adconrad@ubuntu.com> Wed, 11 Jan 2006 16:25:20 +1100 + +initramfs-tools (0.40ubuntu12) dapper; urgency=low + + * Oops, move the progress state file into the new directory too. + + -- Adam Conrad <adconrad@ubuntu.com> Mon, 9 Jan 2006 21:26:44 +1100 + +initramfs-tools (0.40ubuntu11) dapper; urgency=low + + * Move the state directory from /dev/initramfs to /dev/.initramfs + + -- Adam Conrad <adconrad@ubuntu.com> Mon, 9 Jan 2006 21:17:50 +1100 + +initramfs-tools (0.40ubuntu10) dapper; urgency=low + + * Create the /dev/initramfs directory as soon as we mount /dev, so other + packages that need a playground in /dev can do so in a uniform location. + * Update the usplash progress bar every time we are asked to output a + success or failure value from an init action, and write our progress to + /dev/initramfs for sysv-init to gather up and pick up where we left off. + * Export $DPKG_ARCH in both mkinitramfs (for use by hooks) and initramfs. + * Use $DPKG_ARCH in the thermal hook/script to divide the x86 stuff from + the powerpc stuff, not because we have to, but as an example to others. + + -- Adam Conrad <adconrad@ubuntu.com> Mon, 9 Jan 2006 10:51:51 +1100 + +initramfs-tools (0.40ubuntu9) dapper; urgency=low + + * Make some changes to cope with the new and improved klibc packaging: + - Add a force to the deletion of ${DESTDIR}/bin/sh, to avoid errors. + - Cope with libklibc moving from /usr/lib/klibc/lib to /lib. + - Bump dependency on klibc-utils to one new enough for the above. + + -- Adam Conrad <adconrad@ubuntu.com> Thu, 5 Jan 2006 15:13:15 +1100 + +initramfs-tools (0.40ubuntu8) dapper; urgency=low + + * Call modprobe everywhere with "-Qb" to silence messages and allow user + blacklisting. + * Copy the entire /etc/modprobe.d directory to the initramfs, so we can + pick up all user blacklists and options. + * Remove the slumber for SCSI/USB devices from the local filesystem mount + script, udev's init-premount script will take care of this when + necessary. + + -- Scott James Remnant <scott@ubuntu.com> Wed, 7 Dec 2005 16:18:12 +0000 + +initramfs-tools (0.40ubuntu7) dapper; urgency=low + + * remove "sleep 3" from the nfs script before the nfsmount command, + its a leftover from debugging in breezy and slows down thin client + booting unnecessary + + -- Oliver Grawert <ogra@ubuntu.com> Fri, 2 Dec 2005 11:45:05 +0100 + +initramfs-tools (0.40ubuntu6) dapper; urgency=low + + * When panicking, fork an interactive subshell rather than execing it, so + that if the user fixes things up and exits, we continue rather than + panic the kernel. + * Call update-initramfs in postinst to regenerate the latest initramfs on + upgrades + + -- Matt Zimmerman <mdz@ubuntu.com> Thu, 1 Dec 2005 22:23:09 -0800 + +initramfs-tools (0.40ubuntu5) dapper; urgency=low + + * Wait up to 10 seconds for the root device to appear before failing, + allowing SCSI and USB controllers time to settle. There's almost + certainly a more elegant way to do this generically for all mountroot + functions, but for now this will suffice. + + -- Scott James Remnant <scott@ubuntu.com> Thu, 1 Dec 2005 21:28:55 +0000 + +initramfs-tools (0.40ubuntu4) dapper; urgency=low + + * Mount /dev with mode 0755. + + -- Scott James Remnant <scott@ubuntu.com> Thu, 1 Dec 2005 19:30:06 +0000 + +initramfs-tools (0.40ubuntu3) dapper; urgency=low + + "A true friend stabs you in the front." + - Oscar Wilde + + * hooks/acpid: Rename to ... + * hooks/thermal: ... this. Add therm_pm72 for ppc64 systems. + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 30 Nov 2005 22:25:01 -0500 + +initramfs-tools (0.40ubuntu2) dapper; urgency=low + + * Rename scripts/init-premount/acpid to scripts/init-premount/thermal + and add therm_pm72 to avoid "vaccum cleaner mode" on ppc64 systems. + + -- Adam Conrad <adconrad@ubuntu.com> Thu, 1 Dec 2005 12:37:27 +1100 + +initramfs-tools (0.40ubuntu1) dapper; urgency=low + + * Use tmpfs for /dev, instead of ramfs; as tmpfs is swappable. + * Move /proc and /sys to the real filesystem, rather than unmounting them; + slightly reduces workload. + * Replace /root with ${rootmnt} in final usage of /dev/console + * Copy across modprobe blacklist as well as aliases + + * Change the panic/breaknow thing *again*. There's now a break= option + which can be any of top, modules, premount, mount, bottom, init and + causes the initramfs to break at that point. panic/breaknow is now + break=top, without an argument is equivalent to break=premount. + * Run depmod at the top of the init script, so init-top scripts can use + modprobe. + + * Remove udev-specific code: + - depend on the version of udev that includes all of these things itself + - remove udevstart from init + - remove code to move /dev to the real filesystem from init + - remove /sys-based module loading from load_modules + - remove boot_events functions from load_modules + - remove udev copy from mkinitramfs + - remove udev hook script + + -- Scott James Remnant <scott@ubuntu.com> Thu, 24 Nov 2005 21:21:12 +0000 + +initramfs-tools (0.41) unstable; urgency=high + + "Una mattina mi sono svegliato" + + * High urgency upload to cope with newer udev upstream - bonus: + condition to test against when udev is ready. (Closes: #341014) + Thanks Marco d'Itri <md@linux.it> for guidance and + Heikki Henriksen <heikkih@gmail.com> for double check. + + * Pump udev dep on 0.076-3. + + * Special thanks to Paul Traina for previous udev / emvs work. + + * Sync with Ubuntu (0.36ubuntu6). + + * Kill udevd as late as possible. Thanks David Härdeman <david@2gen.com> + for the patch. (Closes: #339093) + + -- maximilian attems <maks@sternwelten.at> Mon, 28 Nov 2005 17:53:24 +0100 + +initramfs-tools (0.40) unstable; urgency=high + + * High urgency upload as udev changed under our feet. Fix RC bugs. + + * hooks/udev: Add needed bits: udevsynthesize. (Closes: #340257) + Move good bits from global mkinitramfs. + + * Pump udev dep on 0.074-3. + + * Fix evms hooks properly until they get merged into the evms itself. + (Closes: #337704) + + * Sync with Ubuntu (0.36ubuntu4). + + -- maximilian attems <maks@sternwelten.at> Wed, 23 Nov 2005 10:31:57 +0100 + +initramfs-tools (0.39) unstable; urgency=medium + + * Setting urgency to medium to get this into testing. This + will make life easier for d-i. + + * Revert the mklibs-small usage patch - reduces needed dependencies: + hook-fuctions: Readds copy_exec. + mkinitramfs, hooks/{evms,lvm,md}: Use copy_exec. + + * mkinitramfs: Newer udev no longer uses /sbin/udev - remove usage. + (Closes: #339568, #339365, #338814) + + * Pump udev dependency. + + * init: Pump timeout as there is currently no way to check which udevd + processes are still running and why. + Cures hopefully breakage of missing devices on boot. + + * Sync with latest Ubuntu. + + -- maximilian attems <maks@sternwelten.at> Thu, 17 Nov 2005 19:59:47 +0100 + +initramfs-tools (0.36ubuntu6) dapper; urgency=low + + * Rename "panic" to "breaknow" + + -- Scott James Remnant <scott@ubuntu.com> Wed, 23 Nov 2005 10:23:54 +0000 + +initramfs-tools (0.36ubuntu5) dapper; urgency=low + + * Abort the boot sequence as early as possible if "panic" is placed on the + kernel command-line, allowing debugging of scripts in init-top. + + -- Scott James Remnant <scott@ubuntu.com> Mon, 21 Nov 2005 08:40:20 +0000 + +initramfs-tools (0.36ubuntu4) dapper; urgency=low + + * Replace all occurances of /etc/mkinitramfs in mkinitramfs with $CONFDIR, + so -d can be used to point at a completely alternate tree (for example, + when installing into a chroot). + + -- Scott James Remnant <scott@ubuntu.com> Mon, 21 Nov 2005 08:34:03 +0000 + +initramfs-tools (0.36ubuntu3) dapper; urgency=low + + * mkinitramfs: only copy the klibc-*.so file, and not the development + pieces that happen to sit alongside it. + + -- Scott James Remnant <scott@ubuntu.com> Thu, 10 Nov 2005 16:44:08 -0500 + +initramfs-tools (0.36ubuntu2) dapper; urgency=low + + * Fix typos in the handling of the mkinitramfs -d option (thanks, Colin). + + -- Adam Conrad <adconrad@ubuntu.com> Thu, 10 Nov 2005 12:12:32 -0500 + +initramfs-tools (0.38) unstable; urgency=low + + [ dann frazier ] + + * initramfs.conf: Reference correct manpage. (Closes: #336095) + + [ maximilian attems ] + + * scripts/functions, scripts/local-premount/suspend: Fix suspend to disk + by using decimal numbers. Thanks to Adrian Bridgett <adrian@smop.co.uk> + for the patch. (Closes: #336936) + + * hooks/evms: manual_add_module dm_mod, now we no longer pull it in by + default. Thanks to Steinar H. Gunderson <sesse@debian.org> + (Closes: #336617) + + -- maximilian attems <maks@sternwelten.at> Wed, 2 Nov 2005 07:21:29 +0100 + +initramfs-tools (0.37) unstable; urgency=low + + * scripts/functions, scripts/local-premount/suspend: Use of "stat" + which isn' any more provided by busybox (1.01-3). + Thanks to Adrian Bridgett <adrian@smop.co.uk> for the patch using awk. + (Closes: #335801) + + * hooks/kernelextras: Check for existence of ${MODULESDIR}/initrd/: + Exit if it doesn't exist before including current dir. + Thanks to Jean Charles Delepine <delepine@nnx.com> (Closes: #335505) + + * hooks/lvm, hooks/md: Remove FIXME's at second thought. You better want + to check against the binaries for your not yet created raid/lvm. + + -- maximilian attems <maks@sternwelten.at> Wed, 26 Oct 2005 09:22:58 +0200 + +initramfs-tools (0.36ubuntu1) dapper; urgency=low + + * Forced version bump to minimise the scary until I have a chance to dig + through the ubuntu:debian diffs and do a proper merge of their changes. + * Remove the "Loading, please wait..." message from the top of init, as + we now have other fairly early visual feedback, and this is just ugly. + + -- Adam Conrad <adconrad@ubuntu.com> Wed, 26 Oct 2005 11:27:36 +1000 + +initramfs-tools (0.36) unstable; urgency=low + + "Sunny Autumn Release" + + * Minor cleanups in mkiniramfs. + + * Remove manpage section about return values. Needs to be rephrased. + Not sure if it's important for the enduser. + + -- maximilian attems <maks@sternwelten.at> Mon, 24 Oct 2005 19:51:51 +0200 + +initramfs-tools (0.35) unstable; urgency=low + + * mkinitramfs: Return 2 for failure path of --supported-(host|target)-version. + + * mkinitramfs: Run the hooks before mklibs-copy, broke evms. + Thanks for fix and testing to Steinar H. Gunderson <sesse@debian.org> + + * Change name of virtual package that is provided into linux-initramfs-tool. + + * Add hooks/lvm allowing to remove dependency on lvm2. + + * Add hooks/md allowing to remove dependency on mdadm. + + * Remove the mdadm and lvm dependencies, they work as hooks when present. + The lvm2 version in sarge is good enough to address issues mentioned in + 0.16. A woody backport will need newer lvm2 although.. + + -- maximilian attems <maks@sternwelten.at> Mon, 24 Oct 2005 19:16:14 +0200 + +initramfs-tools (0.32) unstable; urgency=low + + [ Bastian Blank ] + * Use mklibs-copy. + * Use udevsynthesize instead of udevstart. + * hook-functions: Add ibmvscsic to list of scsi modules. + + [ Sven Luther ] + * Added --supported-(host|target)-version support for the new post-2.6.13 + ramdisk-tool policy. Added linux-ramdisk-tool virtual package too. + (Closes: #333856) + + [ maximilian attems ] + * Resynchronise with latest upstream release. + * Place shift after variable outfile assignment. + * Fix strange chars in the Depends line resulting in no depends at all. + * Thanks to Bastian Blank for the fixes concerning the new busybox version. + (Closes: #334467) + + [ Jeff Bailey ] + * scripts/nfs (mountroot): New variable: NFSOPTS, default to + -o retranfs=10. (Ubuntu 12942) + This can be overridden in the initramfs.conf file. + Thanks to Oliver Grawert for testing this! + + * hook-scripts (auto_add_modules): Add jfs + (dep_add_modules): Ditto. (Ubuntu #16742) + Thanks to Colin Watson for this fix! + + [ Adam Conrad ] + * Make us a bit more silent/tidy by default, unless "quiet" isn't on + the kernel's command line (then we're just as verbose as ever) + + [ Jonas Smedegaard ] + * Use GNU getopt (instead of bash builtin getopts) for improved long- + opts handling. + * Quote variables. + * Use test options -n and -z. + + -- maximilian attems <maks@sternwelten.at> Wed, 19 Oct 2005 17:42:08 +0200 + +initramfs-tools (0.31) unstable; urgency=low + + Quick fix for sluggish dep + + [ Bastian Blank ] + * Use new busybox. (closes: #333755) + + -- maximilian attems <maks@sternwelten.at> Mon, 17 Oct 2005 16:27:31 +0200 + +initramfs-tools (0.30) unstable; urgency=low + + Apparition Octobre Rouge + + [ maximilian Attems ] + + * Resynconise with latest upstream now we are in unstable. + + [ Jeff Bailey ] + * debian/rules: Make sure hooks and scripts are chmod +x + + * hook-functions (auto_add_modules): Add advansys. + + * debian/init: Add "Loading, please wait..." message. + Don't log for init-top scripts to avoid usplash noise. + + * init: Add start of debug command line option. + + * scripts/functions (log_begin_msg): Call usplash if available + (log_end_msg): Call usplash if available + (panic): Close usplash if available + + * scripts/functions (load_modules): Quote resume variable. + Thanks to Christian Kellner for helping test that! + + * scripts/local-premount/suspend: Quote resume variable. + + * update-initramfs: Use basename on the link target to get the + version number. + + * HACKING: Start of some notes on how this package actually works. + * debian/initramfs-tools.docs: Install it. + + [ Matthew Garrett ] + * scripts/functions (load_modules): Run udevstart after loading block + drivers should fix resume from hibernate on non-LVM systems. + + -- maximilian attems <maks@sternwelten.at> Fri, 30 Sep 2005 19:34:55 +0200 + +initramfs-tools (0.29) breezy; urgency=low + + "Beauty is a form of genius - is higher, indeed, than genius, as it + needs no explanation." + - Oscar Wilde + + * hook-functions (auto_add_modules): Add advansys. + + * debian/rules: Make sure hooks and scripts are chmod +x + + * init: Add start of debug command line option. + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 20 Sep 2005 15:47:42 -0400 + +initramfs-tools (0.28) breezy; urgency=low + + * Run udevstart after loading block drivers - should fix resume from + hibernate on non-LVM systems. + + -- Matthew Garrett <mjg59@srcf.ucam.org> Tue, 20 Sep 2005 01:13:31 +0100 + +initramfs-tools (0.27) unstable; urgency=low + + * Remove unused BUSYBOX config option as we use busybox anyway. + + * Add Jeff Bailey and myself as Uploaders, Debian kernel team as + MAINTAINER. + + * Upload to debian unstable - allows use of nondevfs kernel >= 2.6.13 + with initramfs image. (Closes: #312561, #315654) + + * Fix busybox dependency to the relevant debian package. + + * Reorder the initramfs.conf variables. + + * Add question mark to the getopts for the help message. + + * update-initramfs.8 New file install it. + + * The debian busybox-cvs-static installs into /bin/busybox: + fix pathes vis-a-vis ubuntu version. make that a variable on top. + + -- maximilian attems <maks@sternwelten.at> Tue, 20 Sep 2005 13:52:00 +0200 + +initramfs-tools (0.26) breezy; urgency=low + + "Experience is one thing you can't get for nothing." + - Oscar Wilde + + * scripts/local-top/lvm: Reduce -- to - in VG strings for feeding + to vgchange. (Ubuntu: #13387) + + * update-initramfs: New file + * debian/dirs: Add /var/lib/initramfs-tools + + * hooks/evms: New file + * scripts/local-top/evms: New file. + Thanks to Jerry Haltom for helping test this! + + * debian/control: Bump klibc depends to 1.0.14-1ubuntu2 for jfs support + + * hook-scripts (manual_add_modules): Don't do unnecessary depmod + (dep_add_modules): No need for a sleep 2 here. + Thanks to Matt Zimmmerman for noticing these! + + * scripts/functions: Attempt resume before loading USB or Network + modules to avoid resume issues with USB. + Thanks to Matthew Garrett for this patch! + + * scripts/functions (ide_boot_events): Always load ide-generic + before going further. This allows us to catch any hidden + IDE controllers that might not otherwise get found. + + * initramfs.conf.5: New file + * debian/initramfs-tools.manpages: Install it. + Thanks to maximilian attems for the manpage! + + * hook-functions (auto_add_modules): Add mptscsih (Ubuntu #15406) + Thanks to Jesper Krogh for the bug report! + + * debian/dirs: Add etc/mkinitramfs/hooks, move all scripts subdirs + into etc/mkinitramfs/scripts. + + * mkinitramfs: Set the umask. Copy the scripts from + /etc/mkinitramfs/scripts into the image. + Make sure that modules file lists is actually a regular file. + + * init: Use ${rootmnt} instead of hardcoded /root, use mount -n + Fix typo. + + * hook-functions (catenate_cpiogz): Add sanity check. + (add_modules_from_file): Document, quote variable, add warning. + + * docs/example_hook: Update + Thanks to Karl Hegbloom for these previous 5 patches! + + * init: Create /var/lock on the initramfs + Thanks to Jerry Haltom for noticing this! + + * debian/dirs: rename to ... + * debian/initramfs-tools.dirs: ... this. + + * scripts/functions (scsi_boot_events): Don't attempt to look + at ${device}/type if it doesn't actually exist. + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 14 Sep 2005 14:12:24 -0400 + +initramfs-tools (0.25) breezy; urgency=low + + "If there was less sympathy in the world, there would be less + trouble in the world." + - Oscar Wilde + + * init: Module the /dev tmpfs earlier. Make /dev/console, and + /dev/null on it at the beginning, just in case. + + * debian/initramfs-tools.postinst: When copying the modules file over + from initrd-tools installations, filter out ext2, ext3, ide-generic + and ide-disk. These are leftovers from Warty. + (Ubuntu #14242) + + * hooks/udev: New File (Ubuntu #12915) + + * init: panic if ${init} doesn't exist on the target filesystem. + + -- Jeff Bailey <jbailey@ubuntu.com> Thu, 1 Sep 2005 00:13:47 -0400 + +initramfs-tools (0.24) breezy; urgency=low + + "Experience is simply the name we give out mistakes." + - Oscar Wilde + + * hook-functions (auto_add_modules): Add cciss + (Ubuntu #14177) Thanks Fabionne! + + * scripts/functions (parse_numeric): Noop on empty parameter. + Fixes LTSP boot failure. Thanks to Oliver Grawert + for testing! + + * scripts/local-top/md: Don't run modprobe when raidlvl is unset. + Run mdadm if raidlvl has ever been set, not just if the most + recent device checked was part of the raid setup. + Thanks to Jeff Waugh for the bug report! + + * mkinitramfs: Feed the -o argument through readlink -f to + get the canonical pathname. + + -- Jeff Bailey <jbailey@ubuntu.com> Fri, 26 Aug 2005 09:35:32 -0400 + +initramfs-tools (0.23) breezy; urgency=low + + "This suspense is terrible. I hope it will last." + - Oscar Wilde + + * scripts/local: Quote ${ROOT} so that an empty value causes us + to drop to a shell. + Thanks to Matt Zimmerman for this fix! + + * hook-functions (auto_add_modules): Add atiixp and opti621 to + the IDE set. + + * hook-functions (dep_add_modules): Detect i2o and add i2o_block + (auto_add_modules): Include i2o_block. + + * scripts/functions (i2o_boot_events): New function + (load_modules): Call it. (Ubuntu# 13806) + Thanks to Tollef Fog Heen for the i2o patch! + + * debian/control: Depend on udev. + Thanks to Alexander Butenko for troubleshooting this with me. + + * init: Move the /dev directory to the root filesystem. + Handle all the udev bind mounts as needed. + Make sure input and output is associated with dev/console. + + * scripts/functions (parse_numeric): Exit if we're refering to a path. + Otherwise override root setting to be /dev/root. + * init: Call parse_numeric when setting the root variable. + * scripts/local-top/lvm: When using a numeric root, call vgchange -ay + Don't attempt to start LVM on regular partitions. + (Ubuntu #13365, #13778, and some of #13399) + + * scripts/local-top/lvm: Cope with -'s in the Volume Group and + logical volume names. (Ubuntu #13387) + Thanks to Stephen Shirley for the patch! + + -- Jeff Bailey <jbailey@ubuntu.com> Thu, 25 Aug 2005 11:48:15 -0400 + +initramfs-tools (0.22) breezy; urgency=low + + * Fix argument handling in force_load hook-function + * Add "sleep 3" to scripts/nfs as a nasty hack around bug #12942 + + -- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 Aug 2005 23:50:16 -0700 + +initramfs-tools (0.21) breezy; urgency=low + + "All that I desire to point out is the general principle that + life imitates art far more than art imitates life." + - Oscar Wilde + + * mkinitramfs: Define MODULESDIR and use it. + + * hook-functions: Use MODULESDIR + (add_modules_from_file): Do not add .ko extension to file lists. + Call force_load instead of twiddling conf/modules directly. + (Ubuntu #13372) + (force_load): New function. + (copy_exec): Attempt to use non-optimsed libraries if available. + (Ubuntu #13470) + (auto_add_modules) Include forcedeth (Ubuntu #13448) + + * hooks/kernelextras: New file. (Ubuntu #13414) + + * debian/initramfs-tools.postinst: Preserve /etc/mkinitrd/modules if + possible on new install. (Ubuntu #13372) + + -- Jeff Bailey <jbailey@ubuntu.com> Thu, 18 Aug 2005 00:20:11 -0400 + +initramfs-tools (0.20) breezy; urgency=low + + * Depend on cpio. + + -- Colin Watson <cjwatson@ubuntu.com> Fri, 12 Aug 2005 10:43:04 +0100 + +initramfs-tools (0.19) breezy; urgency=low + + "The basis of optimism is sheer terror." + - Oscar Wilde + + * mkinitramfs: Honour MODULES=list and MODULES=dep. + + * hook-functions: New function dep_add_modules. + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 10 Aug 2005 23:20:11 -0400 + +initramfs-tools (0.18) breezy; urgency=low + + "We are all in the gutter, but some of us are looking at the stars." + - Oscar Wilde + + * debian/initramfs-tools.postrm: Use rm -f for removing the modules + file, in case it doesn't exist for some reason. (Ubuntu #13335) + Thanks to Colin Watson for the bug report! + + * mkinitramfs.8: Correct my email address to be jbailey@ubuntu.com + Document /etc/mkinitramfs/DSDT.aml + + * debian/initramfs-tools.postinst: Attempt to inherit RESUME settings + from initrd-tools. Also copy the DSDT from /etc/mkinitrd/DSDT to + /etc/mkinitramfs/DSDT.aml + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 10 Aug 2005 13:09:44 -0400 + +initramfs-tools (0.17) breezy; urgency=low + + "The public is wonderfully tolerant. It forgives everything except + genius." + - Oscar Wilde + + * debian/initramfs-tools.postinst: Get the name of the config file + right when seeding RESUME=. Also fix the sed expression. + Thanks to Matthew Garrett for noticing this! + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 10 Aug 2005 11:54:07 -0400 + +initramfs-tools (0.16) breezy; urgency=low + + "It is through art, and through art only, that we can realise our + perfection." + - Oscar Wilde + + * mkinitramfs: Make sure all relevant ide modules are included. + Add RESUME= support. + + * scripts/functions: Be silent when adding non-detected modules. + + * conf/mkinitramfs.conf: MODULES=most by default, BUSYBOX=y + (Non-busybox isn't supported now. It's not clear that it ever + will be). Add RESUME line for resuming from suspend-to-disk. + + * scripts/local-premount/suspend: New script for suspend-to-disk. + + * debian/control: Bump depends on busybox-cvs-initramfs to + 20040623-1ubuntu19. Add dependancy on lvm2. + Bump standards version to 3.6.2.0 (no-op) + + * debian/control: + Force version depend on lvm2 (>= 2.01.04-5) to make sure newer kernels + will boot. + Thanks for Andrew Mitchell for discovering this. + + * hooks/: New directory + + * debian/dirs: Move hooks to ... + * debian/initramfs-tools.install: ... here. + + * hooks/acpid: New file. + + * scripts/init-premount/acpid: New file + Thanks for the hint from Matthew Garrett for this. + + * debian/initramfs-tools.postinst: Add RESUME support on first install. + + * debian/mkinitramfs: Move functions to ... + * debian/hook-functions: ... here. + + * debian/initramfs-tools.install: Install hook-functions + + * mkinitramfs.8: New file. + Thanks to Maximilian Attems for contributing this! + + * scripts/local-top/md: Don't try to detect raid on non-existant devices + or on whole devices. Quiet other warning messages. + + * hook-functions: When generating initramfs, don't complain about missing + modules. + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 9 Aug 2005 23:35:08 -0400 + +initramfs-tools (0.15) breezy; urgency=low + + "Nothing looks so like innocence as an indiscretion." + - Oscar Wilde + + * mkinitramfs: Handle putting DSDT.aml into the initramfs + Add sata_nv to list of modules to import for main mode. + + * init: New scripts directory, init-premount for generic premount + handling (like usplash) + + * debian/dirs: Make the /etc version of this directory for user + addons. + + * debian/rules: Use prebuild, rather than debian-build-arch. + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 9 Aug 2005 11:29:10 -0400 + +initramfs-tools (0.14) breezy; urgency=low + + "The world is a stage, but the play is badly cast." + - Oscar Wilde + + * scripts/functions: Add scsi_boot_events and call it to load sd_mod + + * scripts/local-top/md: Autodetect raid level + + * scripts/local-top/lvm: Only activate the volumegroup required by + the root device. Don't bother with lvm if the root partition isn't + /dev/mapper/FOO. + + * scripts/functions: Fix ide_boot_events. This never worked, even + if I thought it did. + + * init: init variable should be lower case. Exported ROOT variable + should be upper case. + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 26 Jul 2005 20:30:57 -0400 + +initramfs-tools (0.13) breezy; urgency=low + + "We live in age when unnecessary things are our only necessities." + - Oscar Wilde + + * Use detailed logging now for debian/changelog. We have at least + three people hacking now, and details would probably be useful. + + * debian/TODO: Update + + * debian/dirs: Sort and add usr/share/initramfs-tools/hooks + + * debian/initramfs-tools.examples: Add docs/example_hook and + docs/example_hook_cpiogz + + * debian/initramfs-tools.install: Pretty Print. + + * debian/rules: Ensure that mkinitramfs is executable + + * docs/example_script: New file + + * init: Add concept of 'quiet', be verbose if not specified + + * mkinitramfs: Do not load script functions until needed + Clear up comments / documentation + Use DESTDIR instead of TMPDIR + Add ability to link in extra hunks into the cpio file + Cosmetic cleanups + + * scripts/functions: Add lsb stype log_FOO_msg functions + + * scripts/local: Add logging + + * scripts/nfs: Add logging + + Thanks to Karl Hegbloom for most of these patches! + + * debian/control: Get a much better description + + Thanks to Maximilian Attems for this! + + * scripts/functions: Add copy_exec function that copies a program + and all libraries that it depends on. + + * mkinitramfs: Use it + + * scripts/local-top/lvm: New file + + * mkinitramfs: Specify the modules to copy rather than mass copying + directories + + * scripts/functions: Always load ide-generic to cope with ide subsystem + suckage. + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 29 Jun 2005 23:50:56 +0000 + +initramfs-tools (0.12) breezy; urgency=low + + "I am not young enough to know everything." - Oscar Wilde + + * Don't complain if /etc/mkinitramfs/modules doesn't exist. + + * Make sure that raid1 is pulled in. + + * Include /etc/modprobe.d/aliases in the initramfs + + * Default to currently running kernel version. + Based on a patch from maximilian attems, thanks! + + * Handle module arguments in /etc/mkinitramfs/modules + + * Do hookscripts at generation time. Drop things into + /usr/share/initramfs-tools/hooks or /etc/mkinitramfs/hooks + + * Make sure local-bottom and nfs-bottom get created + Thanks to Karl Hegbloom for these three patches! + + * Prune stray echo from call_scripts + + * Load raid1 for now so that md setups will work. + + * Detect ide modules load + Thanks to Jeff Waugh for initial testing of this! + + -- Jeff Bailey <jbailey@ubuntu.com> Mon, 20 Jun 2005 23:05:04 +0000 + +initramfs-tools (0.11) breezy; urgency=low + + "Illusion is the first of all pleasures" - Oscar Wilde + + * Make the init much less noisy + + * Pull in all the dependancies for nfs and af_packet + + * Be compatible with misdocumented mkinitrd interface + + Thanks to Matt Zimmerman for the bug reports and testing! + + * Update debian/copyright to have the location of the bzr + archive + + -- Jeff Bailey <jbailey@ubuntu.com> Fri, 17 Jun 2005 21:23:25 +0000 + +initramfs-tools (0.10) breezy; urgency=low + + The "I can see you!" release. + + * Unconditionally require busybox. Might revert this eventually + but it's too much of a pain right now do this without + a reasonably environment + + * Use modprobe to load modules + + * Iterate through /sys/bus/pci and /sys/bus/usb and load drivers + based on their modalias + + * Start to use /sbin for things + + * Include depmod in the image. Use it at boot time. + + * Edit config example to show the modules that do need to be included + manually for this build. + + -- Jeff Bailey <jbailey@ubuntu.com> Fri, 17 Jun 2005 12:45:07 +0000 + +initramfs-tools (0.9) breezy; urgency=low + + * Be consistent about y/n vs. yes/no values for the readonly variable + + -- Matt Zimmerman <mdz@ubuntu.com> Thu, 16 Jun 2005 15:22:30 -0700 + +initramfs-tools (0.8) breezy; urgency=low + + The "We are one in the spirit..." release + + * Export the command line variables so that the various scripts + can see them. + + * Honour command line 'ro' or 'rw' settings for nfs. + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 14 Jun 2005 21:35:14 +0000 + +initramfs-tools (0.7) breezy; urgency=low + + The "CONFORM!" release. + + * Make command line arguments almost match mkinitrd. The -m argument + doesn't make any sense, so it's not supported. Add support for + overriding the confdir, and specifying version no longer expects -v. + + * Add sed and grep to the initramfs for now. Will prune these + eventually, but for now mdrun needs them. + + * Add mdadm and mdrun to the initramfs. + + * Add hookscript directories. + + * Call hookscripts + + Thanks to David Weinhall <tao@acc.umu.se> for the dependancy-based + hookscripts. + + -- Jeff Bailey <jbailey@ubuntu.com> Thu, 9 Jun 2005 17:08:01 +0000 + +initramfs-tools (0.6) breezy; urgency=low + + The "Sweep! .... Off!" release. + + * Source in the net-${DEVICE}.conf file to get IP address information. + + * Add commandline parameters for NFSROOT and BOOT. + + * Moving loading of boot functions to after commandline parsing. + + * Allow NFSROOT variable to be set to auto to pick up value from DHCP + Server. + + -- Jeff Bailey <jbailey@ubuntu.com> Wed, 1 Jun 2005 12:02:40 -0400 + +initramfs-tools (0.5) breezy; urgency=low + + The "Climbing to the horizons" release. + + * Update for newer udev, call "udevstart" rather than "udev udevstart" + + * /etc/mkinitramfs/modules should not be a conffile. + + * Support busybox. + + * Fix bug where -k would delete the tmp files, and otherwise it would keep + them. + + * Handle # for comments in the modules file. + + * arch:all, not arch:any + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 31 May 2005 15:17:56 -0400 + +initramfs-tools (0.4) breezy; urgency=low + + * First upload to Ubuntu. + + * Handle glibc compiled udev for now. + + -- Jeff Bailey <jbailey@ubuntu.com> Tue, 24 May 2005 14:30:07 +0000 + +initramfs-tools (0.3) unstable; urgency=low + + * Fix init and root variables + + -- Jeff Bailey <jbailey@ubuntu.com> Sat, 29 Jan 2005 17:49:08 -0500 + +initramfs-tools (0.2) unstable; urgency=low + + * Include the modules in the initrd + * Drop the .ko ending from the module loads. + * Actually chain to the sub scripts. + * kilbc is now named properly + * First cut of an NFS root implementation + + -- Jeff Bailey <jbailey@ubuntu.com> Fri, 28 Jan 2005 16:50:53 -0500 + +initramfs-tools (0.1) unstable; urgency=low + + * Initial Release. + + -- Jeff Bailey <jbailey@ubuntu.com> Thu, 27 Jan 2005 15:23:52 -0500 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..36c98b6 --- /dev/null +++ b/debian/control @@ -0,0 +1,37 @@ +Source: initramfs-tools +Section: utils +Priority: optional +Uploaders: Michael Prokop <mika@debian.org>, Ben Hutchings <benh@debian.org> +Maintainer: Debian kernel team <debian-kernel@lists.debian.org> +Build-Depends: debhelper-compat (= 12), bash-completion +Rules-Requires-Root: no +Standards-Version: 4.1.5 +Vcs-Browser: https://salsa.debian.org/kernel-team/initramfs-tools +Vcs-Git: https://salsa.debian.org/kernel-team/initramfs-tools.git + +Package: initramfs-tools +Architecture: all +Multi-Arch: foreign +Depends: initramfs-tools-core (= ${binary:Version}), linux-base, ${misc:Depends} +Suggests: bash-completion +Provides: linux-initramfs-tool +Conflicts: linux-initramfs-tool, usplash (<< 0.5.50) +Breaks: initscripts (<< 2.88dsf-59.3~), upstart, e2fsprogs (<< 1.42.13) +Description: generic modular initramfs generator (automation) + This package builds a bootable initramfs for Linux kernel packages. The + initramfs is loaded along with the kernel and is responsible for + mounting the root filesystem and starting the main init system. + +Package: initramfs-tools-core +Architecture: all +Multi-Arch: foreign +Recommends: ${busybox:Recommends}, zstd +Depends: klibc-utils (>= 2.0.4-8~), cpio (>= 2.12), kmod, udev, coreutils (>= 8.24), logsave | e2fsprogs (<< 1.45.3-1~), ${misc:Depends} +Suggests: bash-completion +Breaks: initramfs-tools (<< 0.121~), ${busybox:Breaks} +Replaces: initramfs-tools (<< 0.121~) +Description: generic modular initramfs generator (core tools) + This package contains the mkinitramfs program that can be used to + create a bootable initramfs for a Linux kernel. The initramfs should + be loaded along with the kernel and is then responsible for mounting + the root filesystem and starting the main init system. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3ea5189 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Jeff Bailey <jbailey@ubuntu.com> on +Thu, 27 Jan 2005 15:23:52 -0500. + +The current Debian maintainer are maximilian attems <maks@debian.org> +and Michael Prokop <mika@debian.org>. + +The current ubuntu release can be found at: +http://archive.ubuntu.com/ubuntu/pool/main/i/initramfs-tools/ + +The Debian tree is maintained with "git" at: +https://anonscm.debian.org/git/kernel/initramfs-tools.git +https://anonscm.debian.org/cgit/kernel/initramfs-tools.git + +Authors: maximilian attems <maks@debian.org>, + Jeff Bailey <jbailey@ubuntu.com>, + David Härdeman <david@hardeman.nu>, + Martin Michlmayr <tbm@cyrius.com>, + Michael Prokop <mika@debian.org>, + Scott James Remnant <scott@ubuntu.com> + +Copyright: 2005 - 2011 maximilian attems + 2005 Jeff Bailey + 2005 - 2007 David Härdeman + 2008 - 2010 Martin Michlmayr + 2007 - 2011 Michael Prokop + 2005 - 2009 Scott James Remnant + +License: + +GPL v2 or any later version + +On Debian systems, the complete text of the GNU General Public License version +2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/initramfs-tools-core.dirs b/debian/initramfs-tools-core.dirs new file mode 100644 index 0000000..8092c1b --- /dev/null +++ b/debian/initramfs-tools-core.dirs @@ -0,0 +1,16 @@ +etc/initramfs-tools/scripts/init-bottom +etc/initramfs-tools/scripts/init-premount +etc/initramfs-tools/scripts/init-top +etc/initramfs-tools/scripts/local-bottom +etc/initramfs-tools/scripts/local-premount +etc/initramfs-tools/scripts/local-top +etc/initramfs-tools/scripts/nfs-bottom +etc/initramfs-tools/scripts/nfs-premount +etc/initramfs-tools/scripts/nfs-top +etc/initramfs-tools/scripts/panic +etc/initramfs-tools/hooks +etc/initramfs-tools/conf.d +usr/sbin +usr/share/initramfs-tools/conf.d +usr/share/initramfs-tools/conf-hooks.d +usr/share/initramfs-tools/modules.d diff --git a/debian/initramfs-tools-core.examples b/debian/initramfs-tools-core.examples new file mode 100644 index 0000000..bb28943 --- /dev/null +++ b/debian/initramfs-tools-core.examples @@ -0,0 +1,4 @@ +conf/modules +docs/example_script +docs/example_hook +docs/framebuffer diff --git a/debian/initramfs-tools-core.install b/debian/initramfs-tools-core.install new file mode 100644 index 0000000..0c73fa2 --- /dev/null +++ b/debian/initramfs-tools-core.install @@ -0,0 +1,8 @@ +lsinitramfs usr/bin +unmkinitramfs usr/bin +init usr/share/initramfs-tools +scripts usr/share/initramfs-tools +conf/initramfs.conf etc/initramfs-tools +hooks usr/share/initramfs-tools +hook-functions usr/share/initramfs-tools +conf/modules usr/share/initramfs-tools diff --git a/debian/initramfs-tools-core.lintian-overrides b/debian/initramfs-tools-core.lintian-overrides new file mode 100644 index 0000000..d5ebecb --- /dev/null +++ b/debian/initramfs-tools-core.lintian-overrides @@ -0,0 +1,3 @@ +initramfs-tools-core: package-contains-empty-directory usr/share/initramfs-tools/conf.d/ +initramfs-tools-core: package-contains-empty-directory usr/share/initramfs-tools/conf-hooks.d/ +initramfs-tools-core: package-contains-empty-directory usr/share/initramfs-tools/modules.d/ diff --git a/debian/initramfs-tools-core.manpages b/debian/initramfs-tools-core.manpages new file mode 100644 index 0000000..cb4fc51 --- /dev/null +++ b/debian/initramfs-tools-core.manpages @@ -0,0 +1,5 @@ +lsinitramfs.8 +mkinitramfs.8 +unmkinitramfs.8 +initramfs.conf.5 +initramfs-tools.7 diff --git a/debian/initramfs-tools-core.postinst b/debian/initramfs-tools-core.postinst new file mode 100644 index 0000000..c4d7b75 --- /dev/null +++ b/debian/initramfs-tools-core.postinst @@ -0,0 +1,48 @@ +#!/bin/sh + +set -e + +if [ ! -e /etc/initramfs-tools/modules ]; then + sed '/^###/d' /usr/share/initramfs-tools/modules \ + > /etc/initramfs-tools/modules +fi + +mvverbose=-v + +# from dpkg-maintscript-helper, modified +ensure_package_owns_file() { + local PACKAGE="$1" + local FILE="$2" + + dpkg-query -L "$PACKAGE" | grep -F -q -x "$FILE" +} + +# from dpkg-maintscript-helper, modified +finish_mv_conffile() { + local CONFFILE="$1" + local PACKAGE="$2" + + rm $mvverbose -f "$CONFFILE.dpkg-remove" + + [ -e "$CONFFILE.dpkg-backup" ] || return 0 + ensure_package_owns_file "$PACKAGE" "$CONFFILE" || return 0 + + echo "Preserving user changes to $CONFFILE (now owned by $PACKAGE)..." + if [ -e "$CONFFILE" ]; then + mv $mvverbose -f "$CONFFILE" "$CONFFILE.dpkg-new" + fi + mv $mvverbose -f "$CONFFILE.dpkg-backup" "$CONFFILE" +} + +# When installing as a new dependency of initramfs-tools, or upgrading +# from <0.123, we need to move initramfs.conf back into place. +if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 0.123~; then + finish_mv_conffile /etc/initramfs-tools/initramfs.conf initramfs-tools-core +fi + +# Remove obsolete state directory +if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 0.138~; then + rm -rf /var/lib/initramfs-tools +fi + +#DEBHELPER# diff --git a/debian/initramfs-tools-core.postrm b/debian/initramfs-tools-core.postrm new file mode 100644 index 0000000..dc13943 --- /dev/null +++ b/debian/initramfs-tools-core.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "${1}" = "purge" ]; then + rm -f /etc/initramfs-tools/conf.d/resume + rm -f /etc/initramfs-tools/modules +fi + +#DEBHELPER# + diff --git a/debian/initramfs-tools.bash-completion b/debian/initramfs-tools.bash-completion new file mode 100644 index 0000000..ab0bec6 --- /dev/null +++ b/debian/initramfs-tools.bash-completion @@ -0,0 +1 @@ +bash_completion.d/update-initramfs diff --git a/debian/initramfs-tools.dirs b/debian/initramfs-tools.dirs new file mode 100644 index 0000000..d2a6328 --- /dev/null +++ b/debian/initramfs-tools.dirs @@ -0,0 +1,2 @@ +# Redundant with initramfs-tools-core, but avoids a warning on upgrade (#809206) +etc/initramfs-tools/conf.d diff --git a/debian/initramfs-tools.install b/debian/initramfs-tools.install new file mode 100644 index 0000000..4e69147 --- /dev/null +++ b/debian/initramfs-tools.install @@ -0,0 +1,4 @@ +conf/update-initramfs.conf etc/initramfs-tools +update-initramfs usr/sbin +debian/script usr/share/bug/initramfs-tools +kernel etc diff --git a/debian/initramfs-tools.lintian-overrides b/debian/initramfs-tools.lintian-overrides new file mode 100644 index 0000000..6fd7456 --- /dev/null +++ b/debian/initramfs-tools.lintian-overrides @@ -0,0 +1,2 @@ +# upstart will never be fixed, so it is correct to not specify a version +initramfs-tools: breaks-without-version upstart diff --git a/debian/initramfs-tools.maintscript b/debian/initramfs-tools.maintscript new file mode 100644 index 0000000..d79ab79 --- /dev/null +++ b/debian/initramfs-tools.maintscript @@ -0,0 +1,2 @@ +rm_conffile /etc/bash_completion.d/initramfs-tools 0.126~ +rm_conffile /etc/kernel/signed_postinst.d/initramfs-tools 0.126~ diff --git a/debian/initramfs-tools.manpages b/debian/initramfs-tools.manpages new file mode 100644 index 0000000..a6b7118 --- /dev/null +++ b/debian/initramfs-tools.manpages @@ -0,0 +1,2 @@ +update-initramfs.8 +update-initramfs.conf.5 diff --git a/debian/initramfs-tools.postinst b/debian/initramfs-tools.postinst new file mode 100644 index 0000000..4e35c79 --- /dev/null +++ b/debian/initramfs-tools.postinst @@ -0,0 +1,47 @@ +#!/bin/sh + +set -e + +mvverbose=-v + +# from dpkg-maintscript-helper, modified +ensure_package_owns_file() { + local PACKAGE="$1" + local FILE="$2" + + dpkg-query -L "$PACKAGE" | grep -F -q -x "$FILE" +} + +# from dpkg-maintscript-helper, modified +finish_mv_conffile() { + local CONFFILE="$1" + local PACKAGE="$2" + + rm $mvverbose -f "$CONFFILE.dpkg-remove" + + [ -e "$CONFFILE.dpkg-backup" ] || return 0 + ensure_package_owns_file "$PACKAGE" "$CONFFILE" || return 0 + + echo "Preserving user changes to $CONFFILE (now owned by $PACKAGE)..." + if [ -e "$CONFFILE" ]; then + mv $mvverbose -f "$CONFFILE" "$CONFFILE.dpkg-new" + fi + mv $mvverbose -f "$CONFFILE.dpkg-backup" "$CONFFILE" +} + +# If initramfs-tools-core was fully upgraded to 0.123 before our +# preinst ran, we need to move initramfs.conf back into place. +if [ "$1" = configure ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt 0.123~; then + finish_mv_conffile /etc/initramfs-tools/initramfs.conf initramfs-tools-core +fi + +# Regenerate initramfs whenever we go to dpkg state `installed' +if [ "x$1" != xtriggered ]; then + # this activates the trigger, if triggers are working + update-initramfs -u +else + # force it to actually happen + DPKG_MAINTSCRIPT_PACKAGE='' update-initramfs -u +fi + +#DEBHELPER# diff --git a/debian/initramfs-tools.postrm b/debian/initramfs-tools.postrm new file mode 100755 index 0000000..69f1dca --- /dev/null +++ b/debian/initramfs-tools.postrm @@ -0,0 +1,38 @@ +#!/bin/sh + +set -e + +mvverbose=-v + +# from dpkg-maintscript-helper, modified +ensure_package_owns_file() { + local PACKAGE="$1" + local FILE="$2" + + dpkg-query -L "$PACKAGE" | grep -F -q -x "$FILE" +} + +# from dpkg-maintscript-helper +abort_rm_conffile() { + local CONFFILE="$1" + local PACKAGE="$2" + + ensure_package_owns_file "$PACKAGE" "$CONFFILE" || return 0 + + if [ -e "$CONFFILE.dpkg-remove" ]; then + echo "Reinstalling $CONFFILE that was moved away" + mv $mvverbose "$CONFFILE.dpkg-remove" "$CONFFILE" + fi + if [ -e "$CONFFILE.dpkg-backup" ]; then + echo "Reinstalling $CONFFILE that was backupped" + mv $mvverbose "$CONFFILE.dpkg-backup" "$CONFFILE" + fi +} + +# If aborting an upgrade from <0.123, we need to move initramfs.conf back +# into place. +if [ "$1" = abort-upgrade ] && dpkg --compare-versions "$2" lt 0.123~; then + abort_rm_conffile /etc/initramfs-tools/initramfs.conf initramfs-tools +fi + +#DEBHELPER# diff --git a/debian/initramfs-tools.preinst b/debian/initramfs-tools.preinst new file mode 100755 index 0000000..3084c4a --- /dev/null +++ b/debian/initramfs-tools.preinst @@ -0,0 +1,42 @@ +#!/bin/sh + +set -e + +mvverbose=-v + +# from dpkg-maintscript-helper, modified +ensure_package_owns_file() { + local PACKAGE="$1" + local FILE="$2" + + dpkg-query -L "$PACKAGE" | grep -F -q -x "$FILE" +} + +# from dpkg-maintscript-helper +prepare_rm_conffile() { + local CONFFILE="$1" + local PACKAGE="$2" + + [ -e "$CONFFILE" ] || return 0 + ensure_package_owns_file "$PACKAGE" "$CONFFILE" || return 0 + + local md5sum old_md5sum + md5sum="$(md5sum "$CONFFILE" | sed -e 's/ .*//')" + old_md5sum="$(dpkg-query -W -f='${Conffiles}' "$PACKAGE" | \ + sed -n -e "\\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" != "$old_md5sum" ]; then + mv $mvverbose -f "$CONFFILE" "$CONFFILE.dpkg-backup" + else + mv $mvverbose -f "$CONFFILE" "$CONFFILE.dpkg-remove" + fi +} + +# When upgrading from <0.123, we need to move initramfs.conf away so +# dpkg will stop remembering it as an 'obsolete' conffile for us. The +# postinst of either initramfs-tools or initramfs-tools-core will move +# it back. +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.123~; then + prepare_rm_conffile /etc/initramfs-tools/initramfs.conf initramfs-tools +fi + +#DEBHELPER# diff --git a/debian/initramfs-tools.triggers b/debian/initramfs-tools.triggers new file mode 100644 index 0000000..c3d4146 --- /dev/null +++ b/debian/initramfs-tools.triggers @@ -0,0 +1 @@ +interest-await update-initramfs diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..251387e --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +%: + dh $@ --with bash-completion + +# On Debian we can use either busybox or busybox-static, but on Ubuntu +# and derivatives only busybox-initramfs will work. +BUSYBOX_PACKAGES := $(shell if dpkg-vendor --derives-from ubuntu; then echo busybox-initramfs; else echo busybox busybox-static; fi) +BUSYBOX_MIN_VERSION := 1:1.22.0-17~ + +override_dh_gencontrol: + echo >> debian/initramfs-tools-core.substvars "busybox:Breaks=$(wordlist 2,100,$(BUSYBOX_PACKAGES:%=, % (<< $(BUSYBOX_MIN_VERSION))))" + echo >> debian/initramfs-tools-core.substvars "busybox:Recommends=$(wordlist 2,100,$(BUSYBOX_PACKAGES:%=| % (>= $(BUSYBOX_MIN_VERSION))))" + dh_gencontrol + +override_dh_install: + sed -e 's,@BUSYBOX_PACKAGES@,$(wordlist 2,100,$(BUSYBOX_PACKAGES:%=or %)),' \ + -e 's/@BUSYBOX_MIN_VERSION@/$(BUSYBOX_MIN_VERSION)/' \ + mkinitramfs > debian/initramfs-tools-core/usr/sbin/mkinitramfs + chmod 755 debian/initramfs-tools-core/usr/sbin/mkinitramfs + dh_install + +override_dh_installinitramfs: + @: diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..ef9162e --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,24 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' + # We only build arch:all packages + SALSA_CI_DISABLE_BLHC: 'true' + SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 'true' + SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 'true' + SALSA_CI_DISABLE_CROSSBUILD_ARM64: 'true' + +shellcheck: + stage: test + image: $SALSA_CI_IMAGES_BASE + except: + variables: + - $CI_COMMIT_TAG != null + script: + - apt-get update + - apt-get install -y shellcheck + - | + shellcheck -e SC1090,SC1091 -s dash hook-functions $(find hooks scripts -type f) $({ find . -maxdepth 1 -type f -executable; find debian -maxdepth 1 -type f; find docs kernel -type f; } | xargs grep -l '^#!/bin/sh') + needs: [] diff --git a/debian/script b/debian/script new file mode 100755 index 0000000..e83f10e --- /dev/null +++ b/debian/script @@ -0,0 +1,69 @@ +#!/bin/sh + +exec >&3 + +echo "-- initramfs sizes" +ls -lh /boot/initrd.img-* + +echo "-- /proc/cmdline" +cat /proc/cmdline +echo + +if [ -r /etc/initramfs-tools/conf.d/resume ]; then + echo "-- resume" + cat /etc/initramfs-tools/conf.d/resume +fi + +echo "-- /proc/filesystems" +grep -v nodev /proc/filesystems +echo + +echo "-- lsmod" +lsmod +echo + +if [ -r /etc/initramfs-tools/modules ]; then + echo "-- /etc/initramfs-tools/modules" + sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/modules + echo +fi + +if [ -r /etc/kernel-img.conf ]; then + echo "-- /etc/kernel-img.conf" + cat /etc/kernel-img.conf + echo +fi + +if [ -r /etc/initramfs-tools/initramfs.conf ]; then + echo "-- /etc/initramfs-tools/initramfs.conf" + sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf + echo +fi + +if [ -r /etc/initramfs-tools/update-initramfs.conf ]; then + echo "-- /etc/initramfs-tools/update-initramfs.conf" + sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/update-initramfs.conf + echo +fi + +if [ -r /etc/crypttab ]; then + echo "-- /etc/crypttab" + cat /etc/crypttab + echo +fi + +if [ -r /proc/mdstat ]; then + echo "-- /proc/mdstat" + cat /proc/mdstat + echo +fi + +if grep -rq "MODULES=dep" /etc/initramfs-tools/ ; then + echo "-- /sys/block" + ls /sys/block + echo +fi + +echo "-- mkinitramfs hooks" +ls /usr/share/initramfs-tools/hooks /etc/initramfs-tools/hooks/ +echo diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/tests/amd64-ata-only b/debian/tests/amd64-ata-only new file mode 100755 index 0000000..b91601e --- /dev/null +++ b/debian/tests/amd64-ata-only @@ -0,0 +1,22 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +ROOTDISK_QEMU_IF=ide +ROOTDISK_LINUX_NAME=sda +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=list +BUSYBOX=n +FSTYPE=ext2 +EOF +cat >"${CONFDIR}/modules" <<EOF +ext2 +ata_piix +sd_mod +EOF +build_initramfs + +build_rootfs_ext2 + +run_qemu_amd64 diff --git a/debian/tests/amd64-busybox b/debian/tests/amd64-busybox new file mode 100755 index 0000000..3b6094c --- /dev/null +++ b/debian/tests/amd64-busybox @@ -0,0 +1,19 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=most +BUSYBOX=y +FSTYPE=ext2 +EOF +build_initramfs +lsinitramfs "${INITRAMFS}" | grep -qw busybox + +build_rootfs_ext2 + +run_qemu_amd64 + +# Check that fsck ran +grep -q "^/dev/${ROOTDISK_LINUX_NAME}: clean," "${OUTPUT}" diff --git a/debian/tests/amd64-klibc b/debian/tests/amd64-klibc new file mode 100755 index 0000000..281f995 --- /dev/null +++ b/debian/tests/amd64-klibc @@ -0,0 +1,19 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=most +BUSYBOX=n +FSTYPE=ext2 +EOF +build_initramfs +! lsinitramfs "${INITRAMFS}" | grep -qw busybox + +build_rootfs_ext2 + +run_qemu_amd64 + +# Check that fsck ran +grep -q "^/dev/${ROOTDISK_LINUX_NAME}: clean," "${OUTPUT}" diff --git a/debian/tests/amd64-panic-shell b/debian/tests/amd64-panic-shell new file mode 100755 index 0000000..ad42f8f --- /dev/null +++ b/debian/tests/amd64-panic-shell @@ -0,0 +1,32 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +ROOTDISK_QEMU_IF=virtio +ROOTDISK_LINUX_NAME=nonexistent +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=list +BUSYBOX=n +FSTYPE=ext2 +EOF +cat >"${CONFDIR}/modules" <<EOF +ext2 +virtio_pci +virtio_blk +EOF +build_initramfs + +build_rootfs_ext2 + +run_qemu_nocheck_amd64 +grep -qF "ALERT! /dev/nonexistent does not exist. Dropping to a shell!" "${OUTPUT}" +grep -qF "(initramfs) " "${OUTPUT}" + +run_qemu_nocheck_amd64 "panic=-1" +grep -qF "Rebooting automatically due to panic= boot argument" "${OUTPUT}" +! grep -qF "(initramfs) " "${OUTPUT}" + +run_qemu_nocheck_amd64 "panic=0" +grep -qF "Halting automatically due to panic= boot argument" "${OUTPUT}" +! grep -qF "(initramfs) " "${OUTPUT}" diff --git a/debian/tests/amd64-separate-usr b/debian/tests/amd64-separate-usr new file mode 100755 index 0000000..1a30152 --- /dev/null +++ b/debian/tests/amd64-separate-usr @@ -0,0 +1,36 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +ROOTDISK_QEMU_IF=virtio +ROOTDISK_LINUX_NAME=vda +USRDISK="$(mktemp)" +USRDISK_QEMU_IF=virtio +USRDISK_LINUX_NAME=vdb +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=list +BUSYBOX=n +FSTYPE=ext2 +EOF +cat >"${CONFDIR}/modules" <<EOF +ext2 +virtio_pci +virtio_blk +EOF +build_initramfs + +# Set up /usr filesystem and fstab entry for it +mkdir -p "${ROOTDIR}/etc" +echo > "${ROOTDIR}/etc/fstab" "/dev/${USRDISK_LINUX_NAME} /usr ext2 defaults 0 2" +USRDIR="$(mktemp -d)" +mv "${ROOTDIR}/usr/"* "${USRDIR}" + +build_rootfs_ext2 +build_fs_ext2 "${USRDIR}" "${USRDISK}" + +run_qemu_amd64 + +# Check that fsck ran on both devices +grep -q "^/dev/${ROOTDISK_LINUX_NAME}: clean," "${OUTPUT}" +grep -q "^/dev/${USRDISK_LINUX_NAME}: clean," "${OUTPUT}" diff --git a/debian/tests/amd64-virtio-only b/debian/tests/amd64-virtio-only new file mode 100755 index 0000000..5cca6da --- /dev/null +++ b/debian/tests/amd64-virtio-only @@ -0,0 +1,22 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +ROOTDISK_QEMU_IF=virtio +ROOTDISK_LINUX_NAME=vda +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=list +BUSYBOX=n +FSTYPE=ext2 +EOF +cat >"${CONFDIR}/modules" <<EOF +ext2 +virtio_pci +virtio_blk +EOF +build_initramfs + +build_rootfs_ext2 + +run_qemu_amd64 diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..aa445ea --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,23 @@ +Tests: amd64-klibc +Depends: @, qemu-system-x86, linux-image-amd64 | linux-image-generic:amd64, klibc-utils, genext2fs, zstd +Restrictions: skip-not-installable + +Tests: amd64-busybox +Depends: @, qemu-system-x86, linux-image-amd64 | linux-image-generic:amd64, klibc-utils, busybox | busybox-initramfs, genext2fs, zstd +Restrictions: skip-not-installable + +Tests: amd64-ata-only +Depends: @, qemu-system-x86, linux-image-amd64 | linux-image-generic:amd64, klibc-utils, genext2fs, zstd +Restrictions: skip-not-installable + +Tests: amd64-virtio-only +Depends: @, qemu-system-x86, linux-image-amd64 | linux-image-generic:amd64, klibc-utils, genext2fs, zstd +Restrictions: skip-not-installable + +Tests: amd64-separate-usr +Depends: @, qemu-system-x86, linux-image-amd64 | linux-image-generic:amd64, klibc-utils, genext2fs, zstd +Restrictions: skip-not-installable + +Tests: amd64-panic-shell +Depends: @, qemu-system-x86, linux-image-amd64 | linux-image-generic:amd64, klibc-utils, genext2fs, zstd +Restrictions: skip-not-installable diff --git a/debian/tests/test-common b/debian/tests/test-common new file mode 100644 index 0000000..d1bf671 --- /dev/null +++ b/debian/tests/test-common @@ -0,0 +1,100 @@ +# -*- mode: sh -*- + +# Find kernel flavour and release +KVER= +for flavour in $SUPPORTED_FLAVOURS; do + KVER="$(dpkg-query -Wf '${Depends}' "linux-image-${flavour}" 2>/dev/null | tr ',' '\n' | sed -n 's/^ *linux-image-\([-a-z0-9+.]*\).*/\1/p')" + if [ "$KVER" ]; then + break + fi +done +if [ -z "$KVER" ]; then + echo >&2 "E: Test must set SUPPORTED_FLAVOURS and depend on those flavours" + exit 2 +fi + +if [ -n "${AUTOPKGTEST_TMP}" ]; then + export TMPDIR="${AUTOPKGTEST_TMP}" +fi + +# Skeleton configuration directory +CONFDIR="$(mktemp -d)" +cp conf/initramfs.conf "${CONFDIR}/initramfs.conf" +echo "RESUME=none" >>"${CONFDIR}/initramfs.conf" +touch "${CONFDIR}/modules" +mkdir "${CONFDIR}/scripts" + +# initramfs image file +INITRAMFS="$(mktemp)" + +# root disk image file +ROOTDISK="$(mktemp)" + +# root disk interface type (for qemu) and device name (for Linux) +test -n "${ROOTDISK_QEMU_IF}" || ROOTDISK_QEMU_IF=virtio +test -n "${ROOTDISK_LINUX_NAME}" || ROOTDISK_LINUX_NAME=vda + +# Create a root fs with a trivial userspace +ROOTDIR="$(mktemp -d)" +INIT_MESSAGE='root fs init system started successfully' +for subdir in bin dev lib proc run sbin sys usr usr/bin; do + mkdir "${ROOTDIR}/${subdir}" +done +cat >"${ROOTDIR}/sbin/init" <<EOF +#!/bin/sh -e +test -b /dev/${ROOTDISK_LINUX_NAME} +test -d /proc/1 +test -d /run/initramfs +test -d /sys/class +test -d /usr/bin +echo '${INIT_MESSAGE}' +poweroff +EOF +chmod a+x "${ROOTDIR}/sbin/init" +cp /usr/lib/klibc/bin/sh "${ROOTDIR}/bin/sh" +cp /usr/lib/klibc/bin/poweroff "${ROOTDIR}/bin/poweroff" +cp "$(dpkg -L libklibc | grep '^/lib/klibc.*\.so$')" "${ROOTDIR}/lib/" + +# VM output file +OUTPUT="$(mktemp)" + +build_initramfs() { + /usr/sbin/mkinitramfs -d "${CONFDIR}" -o "${INITRAMFS}" "${KVER}" +} + +build_fs_ext2() { + local dir="${1}" + local disk="${2}" + + # Get directory size + local blocks="$(du --summarize "${dir}" | cut -f 1)" + local inodes="$(du --summarize --inodes "${dir}" | cut -f 1)" + + # Add fudge factor + blocks="$((blocks + 20 + blocks / 4))" + inodes="$((inodes + 10))" + + # genext2fs writes status messages to stderr; hide that from + # autopkgtest + genext2fs 2>&1 -b "${blocks}" -N "${inodes}" -U -d "${dir}" "${disk}" +} + +build_rootfs_ext2() { + build_fs_ext2 "${ROOTDIR}" "${ROOTDISK}" +} + +_run_qemu_amd64() { + local extra_params="$*" + + timeout --foreground 60 qemu-system-x86_64 -m 1G -drive "file=${ROOTDISK},if=${ROOTDISK_QEMU_IF},media=disk,format=raw" ${USRDISK:+-drive "file=${USRDISK},if=${USRDISK_QEMU_IF},media=disk,format=raw"} -nographic -no-reboot -kernel "/boot/vmlinuz-${KVER}" -initrd "${INITRAMFS}" -append "root=/dev/${ROOTDISK_LINUX_NAME} ro console=ttyS0,115200 ${extra_params}" | tee "${OUTPUT}" +} + +run_qemu_nocheck_amd64() { + # hide error messages from autopkgtest + _run_qemu_amd64 2>&1 "$@" +} + +run_qemu_amd64() { + _run_qemu_amd64 "panic=-1" + grep -qF "${INIT_MESSAGE}" "${OUTPUT}" +} |