Autoinstallers for Debian Buster and Ubuntu Bionic mitchb precise-dev 0.1.56
authorMitchell E Berger <mitchb@mit.edu>
Thu, 2 Jan 2020 08:30:26 +0000 (03:30 -0500)
committerMitchell E Berger <mitchb@mit.edu>
Thu, 2 Jan 2020 08:30:26 +0000 (03:30 -0500)
commitdbabdbd3df5e4a8b9f716689777f7d5c74bc7a92
treeeb65d763d0f05e128b3272189bcb31e68f7910f7
parentcf60fd3bc04d5ea552c4d2b16858da20135a6498
Autoinstallers for Debian Buster and Ubuntu Bionic
    Buster is identical to Squeeze.
    Bionic requires significant reworking from the Xenial days:
    - The atomic partman-auto recipe ignores the boot partition
      when using LVM, and our pygrub can't read from LVM.  Switch
      to using an expert recipe that matches the atomic one in
      Debian Buster, but with Ubuntu's preferred sizes and filesystems.
    - The preseed value to avoid installing Grub2 instead of old Grub
      is no longer honored, and we can't handle it the way we do in
      Debian because grub-legacy doesn't exist in Ubuntu.  Instead,
      let it install Grub2 and then we'll install and use pv-grub-menu,
      which maintains a menu.lst from the parsed contents of grub.cfg.
    - pv-grub-menu contains a bug - it hardcodes "/boot" as the directory
      pygrub will expect to find kernels and initrds in; this is wrong
      when the system's /boot is on its own partition, and update-menu-lst
      doesn't provide configurable options either in its invocation, a
      parsed pre-existing menu.lst (where the root device and default
      kernel options can be persistently set in comments), or a config
      file.  However, it does source /etc/default/grub after it has set
      this hardcoded variable to "/boot".  We abuse /etc/default/grub
      to empty that variable back out.
code/static/preseed/bionic-amd64.preseed [new symlink]
code/static/preseed/bionic.preseed [new file with mode: 0644]
code/static/preseed/buster-amd64.preseed [new symlink]
code/static/preseed/buster.preseed [new file with mode: 0644]
debian/changelog