1. 21 Apr, 2017 6 commits
  2. 08 Apr, 2017 6 commits
  3. 06 Apr, 2017 2 commits
  4. 18 Feb, 2017 1 commit
  5. 23 Jan, 2017 1 commit
  6. 20 Dec, 2016 2 commits
  7. 15 Dec, 2016 11 commits
  8. 08 Dec, 2016 4 commits
    • Ben Hutchings's avatar
      Remove code that prunes 'broken' symlinks and sometimes /etc/mtab · 4a108681
      Ben Hutchings authored
      Long ago (before version 0.99) we used to build a tree of symlinks in
      $DESTDIR rather than copying files, then use the cpio --dereference
      option.  This made broken symlinks fatal, so we have code to delete
      them before running cpio.
      We no longer use symlinks that way, and symlinks under $DESTDIR
      might appear broken even though they will be valid at boot time.  In
      particular, vmdebootstrap installs packages in a chroot without /proc
      mounted, thus ${DESTDIR}/etc/mtab is a broken link and this command
      deletes it.  That stops fsck from running in the initramfs, or at
      all (in most cases) until something re-runs update-initramfs.
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Closes: #845581
    • Ben Hutchings's avatar
      Remove obsolete bash-completion file on upgrade · d9f77c15
      Ben Hutchings authored
      Thanks: Andreas Beckmann <anbe@debian.org>
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
    • Ben Hutchings's avatar
      Fix initramfs.conf move to ensure default values are upgraded · 82f4bcf0
      Ben Hutchings authored
      When we upgrade from a version earlier than 0.123, initramfs.conf is
      transfered from initramfs-tools to initramfs-tools-core and is not
      modified.  But if it has not been changed from the default shipped in
      the old version, it should be upgraded to the new default.  An upgrade
      directly from Debian stable (0.120+deb8u2) to testing (0.125) should
      change BUSYBOX=yes to BUSYBOX=auto but does not.
      Andreas Beckmann extracted and adapted the code from
      dpkg-maintscript-helper for conffile removal and renaming, that has
      the necessary checks.  I've simplified that a little bit to reduce
      code churn.
      Thanks: Andreas Beckmann <anbe@debian.org>
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Closes: #822671, #825929
    • Ben Hutchings's avatar
      hook-functions: Make copy_file return 0 on creating a link to an existing file · 385e3fce
      Ben Hutchings authored
      If copy_file copies a symlink, it then moves on to copying the
      link-target.  It returns 1 if that already exists in the initramfs.
      This is not obvious from the documentation and it's causing breakage
      now.  It seems to make more sense to return 0 in this case and reserve
      1 for the case that nothing at all was copied.
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Closes: #847325
  9. 02 Jul, 2016 1 commit
    • Michael Prokop's avatar
      mkinitramfs: consider *.conf files only, also from /lib/modprobe.d/ + don't... · 30dfbbd1
      Michael Prokop authored
      mkinitramfs: consider *.conf files only, also from /lib/modprobe.d/ + don't complain about empty dirs
      We should ignore dpkg backup files like
      /etc/modprobe.d/pptpd.conf.dpkg-remove and since kmod cares only
      about *.conf anyway just copy *.conf files.
      While at it also support *.conf files from /lib/modprobe.d/.
      Stop complaining about empty directy with
      `cp: cannot stat '/etc/modprobe.d/*': No such file or directory`.
      Thanks: Ben Hutchings <ben@decadent.org.uk> for reviewing
      Closes: #829280
  10. 07 Jun, 2016 1 commit
  11. 29 May, 2016 1 commit
  12. 15 May, 2016 1 commit
  13. 17 Apr, 2016 3 commits