1. Nov 13, 2023
  2. Nov 11, 2023
    • Chris Hofstaedtler's avatar
      shellcheck: fix some warnings · 9f52da56
      Chris Hofstaedtler authored
      Catch up with shellcheck 0.9.0.
      
      To improve shellcheck usage in chroot-script, add a stub file defining ARCH.
      
      This commit is very minimal. In particular it avoids moving/deduplicating code
      and/or any style changes.
      9f52da56
  3. Oct 26, 2023
  4. Oct 25, 2023
  5. Oct 23, 2023
  6. Oct 21, 2023
  7. Oct 20, 2023
  8. Oct 16, 2023
  9. Oct 15, 2023
  10. Oct 13, 2023
  11. Sep 08, 2023
  12. Apr 14, 2023
  13. Mar 31, 2023
    • Michael Prokop's avatar
      GRUB: use persistent device names under /dev/disk/by-id/ for install_devices · b379e240
      Michael Prokop authored
      We pass the requested --grub … device argument to the GRUB package
      configuration, like:
      
      | # debconf-show grub-pc | grep grub-pc/install_devices:
      | * grub-pc/install_devices: /dev/sda
      
      But the GRUB package tries to use /dev/disk/by-id/... for
      install_devices setting (since 2010 and Debian/squeeze AFAICS), as can
      be observed by reconfiguring the GRUB package (which then automatically
      converts the /dev/sdX to the proper /dev/disk/by-id/... device when
      being asked in the debconf prompt):
      
      | # dpkg-reconfigure grub-pc
      | grub-pc: Running grub-install ...
      | [...]
      | # debconf-show grub-pc | grep grub-pc/install_devices:
      | * grub-pc/install_devices: /dev/disk/by-id/ata-VBOX_HARDDISK_VBf4f4391c-6316fa69
      
      The available_ids() and device_to_id() helper functions are based on
      code by Colin Watson <cjwatson@debian.org> in GRUB's postinst script
      of the Debian package, see git commits 4830efd9e + ce2a43c85 at
      https://salsa.debian.org/grub-team/grub.git.
      
      Closes: https://github.com/grml/grml-debootstrap/issues/206
      b379e240
  14. Feb 20, 2023
    • Michael Prokop's avatar
      Release new version 0.103 · 8aed9f5a
      Michael Prokop authored
      8aed9f5a
    • Michael Prokop's avatar
      Disable ext4 metadata_csum_seed for Debian releases older than bookworm · bbb2ea07
      Michael Prokop authored
      As of e2fsprogs v1.43 and Linux kernel v4.4 the ext4 file system supports
      the new metadata_csum_seed feature (which allows the file system UUID to
      be modified without needing to update all of the file system metadata).
      Also see https://bugs.debian.org/1031325
      
      Starting with e2fsprogs v1.47 this new metadata_csum_seed feature gets
      enabled by default. When installing an older Debian release this might
      cause problems because it's not fully supported yet, see e.g. the GRUB
      failure documented as #866603.
      
      To keep the behavior identical to Debian, we do not enable the
      metadata_csum_seed feature for Debian releases before bookworm.  This is
      relevant for us, as grml-debootstrap might be running from a more recent
      Debian release (like a Debian testing/unstable based Grml live system).
      
      We check for the e2fsprogs version as versions before 1.43 didn't support
      the metadata_csum_seed option yet.
      
      Closes: #1031416
      Closes: https://github.com/grml/grml-debootstrap/issues/204
      bbb2ea07
  15. Feb 07, 2023
  16. Nov 26, 2022