summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2020-09-13Releasing version 0.139.Ben Hutchings
Signed-off-by: Ben Hutchings <benh@debian.org>
2020-09-13debian/tests/control: Mark all amd64 tests as skip-not-installableBen Hutchings
As these tests require installing an amd64 kernel package, they have to be skipped on other architectures. Tthere is currently no way to explicitly restrict them to specific architectures, so instead add the skip-not-installable restriction. Closes: #970184 Signed-off-by: Ben Hutchings <benh@debian.org>
2020-09-13debian/tests: Run amd64 tests on either amd64 or generic flavourBen Hutchings
* Change the linux-image-amd64 dependency to -amd64 | -generic:amd64 * Replace the LOCALVERSION variable with a SUPPORTED_FLAVOURS variable, and have test-common loop over the flavours * Change the dpkg-query pipeline that finds the kernel version string to avoid assumptions about ordering and versioning of dependencies This should allow the tests to run on Ubuntu or its derivatives without changes. Signed-off-by: Ben Hutchings <benh@debian.org>
2020-09-11Releasing version 0.138.Ben Hutchings
Signed-off-by: Ben Hutchings <benh@debian.org>
2020-09-07debian/tests: Add test of the panic shell and parameter handlingBen Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-09-06debian/tests: Add test for separate /usr deviceBen Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-09-06debian/tests: Add basic tests for amd64 with only ata/virtio driverBen Hutchings
For now, use MODULES=list. I want to test with MODULES=dep too, but that will require putting a Debian installation inside the VM so we can run mkinitramfs there. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-09-06debian/tests: Add basic test for amd64 using busyboxBen Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-09-06debian/tests: Add basic test for amd64 using klibc and not busyboxBen Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-09-06debian/tests: Add common test preparation codeBen Hutchings
This should allow implementing various test cases without too much repetition. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-09-06Add CI configuration for salsa.debian.orgBen Hutchings
2020-09-01Remove obsolete update-initramfs state in /var/lib/initramfs-toolsBen Hutchings
update-initramfs used to keep track of which initramfs images it created and "owned", to avoid overwriting the output of another coinstalled initramfs generator. As discussed in #765750, this is no longer a concern and the state checks have been removed. Now that I'm confident this hasn't caused a regression, also remove the state updates and the state directory. After this, there is no turning back: a downgrade will leave update-initramfs owning nothing. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-04-28debian/control, docs/maintainer-notes.md: Use my @debian.org addressBen Hutchings
I'm now using benh@debian.org in debian/changelog, so make these consistent. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-04-28Releasing version 0.137.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-01-18Releasing version 0.136.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2020-01-18debian/rules: Suppress execution of dh_installinitramfsBen Hutchings
debhelper 12 wants to run dh_installinitramfs, but we don't want this - in particular, because it makes initramfs-tools-core's maintainer scripts run update-initramfs. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-12-10Set debhelper-compat version in Build-Depends.Debian Janitor
Fixes lintian: uses-debhelper-compat-file See https://lintian.debian.org/tags/uses-debhelper-compat-file.html for more details.
2019-12-10Bump debhelper from old 9 to 12.Debian Janitor
Fixes lintian: package-uses-old-debhelper-compat-version See https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html for more details.
2019-11-18Don't require build dependency on shellcheck when nocheck profile is enabledAlexander Volkov
2019-10-27debian/tests/control: Mark shellcheck test as superficialBen Hutchings
Running a static checker is not a substitute for proper integration tests, which are still TBD. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-08-21Releasing version 0.135.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-08-21autopkgtest: Only test hook and boot scripts from specific packagesBen Hutchings
There are still other packages with hooks and scripts that shellcheck finds fault with. This shouldn't cause a test failure for initramfs-tools itself, but unfortunately that's what happens now: https://ci.debian.net/data/autopkgtest/testing/amd64/i/initramfs-tools/2780481/log.gz Replace the Test-Command with a script that tests only hook and boot scripts installed by specific binary packages. We can expand this list as and when other packages are updated. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-28Releasing version 0.134.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-28initramfs-tools-core: Depend on logsave or older e2fsprogsBen Hutchings
The fsck hook depends on logsave, which has moved from e2fsprogs to a separate binary package. Closes: #932854 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-11autopkgtest: Check also /usr/share/initramfs-tools/{hooks,scripts}Benjamin Drung
klibc 2.0.5-1, kmod 26-1, and systemd 240-4 fixed their shellcheck issues. So we can also check the whole /usr/share/initramfs-tools/hooks and /usr/share/initramfs-tools/scripts directories. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-02-06Releasing version 0.133.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-06initramfs-tools-core: Recommend pigzBen Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-04README: Summarise what initramfs-tools does and point to manual pagesBen Hutchings
README hasn't been updated since the initial checkin in 2005, and the old contents are obsolete: the original goals have either been achieved or abandoned (we're not going to build udev against klibc), and initrds are largely forgotten. Replace these with a quick summary of what an initramfs is needed for, how initramfs-tools does it, and a pointer to the manual pages. Suggested-by: Robie Basak <robie.basak@ubuntu.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-01-01debian/rules: Use a more conservative "find" for shellcheck argumentsBen Hutchings
Make sure we don't include the copies of scripts under debian/initramfs-tools{,-core}, or any non-shell executables. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-12-18Add autopkgtest for shellcheckBenjamin Drung
2018-12-18Run shellcheck on package build timeBenjamin Drung
To keep the code in a clean state, run shellcheck on package build time. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2018-12-18Fix (nearly) all issues found by shellcheckBenjamin Drung
shellcheck found more issues than SC1074. Address most of these issues. You can check the shell code by running: ``` shellcheck -e SC1090,SC1091 -s dash hook-functions $(find * -type f \( -executable ! -name rules -o -regex '.*\.\(post\|pre\).*' -o -regex "^\(docs\|scripts\)/.*" ! -name '*.md' \)) ``` Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2018-12-17Remove trailing newline from debian/changelogBenjamin Drung
Fix lintian's complain file-contains-trailing-whitespace.
2018-08-05initramfs-tools: Change trigger declaration to "interest-await"Ben Hutchings
dpkg will only put a triggering package in the triggers-awaited state if both it and the triggered package used "await". To allow for packages that really need to await the initramfs update, explicitly declare our trigger as "interest-await". (This is equivalent to the old "interest", but fixes a lintian warning for the old name.) Related-to: #822730 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-26Releasing version 0.132.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-26Update debian/.gitignoreBen Hutchings
Gbp-Dch: ignore Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-19Releasing version 0.131.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-19initramfs-tools: Override lintian warning "breaks-without-version upstart"Ben Hutchings
upstart will never be fixed, so it is correct to not specify a version. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-19debian/initramfs-tools-core.doc-base: RemoveBen Hutchings
The document it refers to is no longer packaged. Gbp-Dch: ignore Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-19debian/control: Update Standards-Version to 4.1.5Ben Hutchings
Set Rules-Requires-Root: no. No other policy changes seem to be relevant. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18debian/control: Remove obsolete Breaks and Depends relationsBen Hutchings
The broken cryptsetup, elilo, lilo, s390-tools, console-setup, systemd-sysv, and lvm2 versions are all older than jessie (current oldstable). We can assume that they will have been upgraded without an explicit Breaks. kmod replaced module-init-tools in wheezy (current oldoldstable) so there is no need to allow the latter as an alternative. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18debian/initramfs-tools-core.manpages: Fix filenamesBen Hutchings
I updated the wrong filename here when moving the initramfs-tools man page. Gbp-Dch: ignore Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18docs: Don't package maintainer documentation in initramfs-tools-coreBen Hutchings
maintainer-notes.md (formerly .html) is only useful for those working on the source package. HACKING might be slightly useful to maintainers of other packages, but initramfs-tools(7) is much more useful. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18docs: Move initramfs-tools man page to section 7Ben Hutchings
Manual pages that describe a general topic belong in section 7, not 8. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18mkinitramfs: Build reproducible images when SOURCE_DATE_EPOCH is setBen Hutchings
[bwh: Resolved conflicts with lz4 support and updated Depends] Closes: #845034 Thanks: Chris Lamb <lamby@debian.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18debian/control: Add e2fsprogs to Depends for initramfs-tools-coreBen Hutchings
Closes: #887211 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-15debian/control: Point Vcs URLs to SalsaBen Hutchings
2018-06-22Only sync the filesystem containing the initramfsColin Watson
This avoids update-initramfs taking an unnecessarily long time if there is lots of activity on a different filesystem, or even hanging in cases such as a stale NFS mount. Based on a patch by Jukka Tastula <poltsy@gmail.com>. Closes: #882380 LP: #1667512 Signed-off-by: Colin Watson <cjwatson@debian.org>
2017-08-16debian/control: Remove maximilian attems and Adam Conrad from Uploaders fieldBen Hutchings
maks is no longer interested and Adam hasn't worked on the Debian branches for a long time.
2017-04-26Releasing version 0.130.Ben Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>