Skip to content

Update mxgrub #100

Merged
merged 3 commits into from
Sep 2, 2019
Merged

Update mxgrub #100

merged 3 commits into from
Sep 2, 2019

Commits on Aug 20, 2019

  1. mxgrub: exclude .git from ramdisk

    mxgrub --initramfs builds /boot/grub/initramfs.igz from
    /project/admin/initramf. Exclude ".git*", so we can put
    the directory under revision control.
    donald committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    5ac06aa View commit details
    Browse the repository at this point in the history
  2. mxgrub: Remove redundant exit status checks

    Callers of the function sys() don't need to check the return value,
    because sys() doesn't return at all if the external command fails.
    
    Remove `and exit 1` after sys().
    
    Closes #52
    donald committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    c881fbb View commit details
    Browse the repository at this point in the history
  3. mxgrub: Add --set-default to switch default kernel

    Add new command `mxgrub --set-default {label}` which sets the default
    kernel. It is not automatically selected for the next boot.
    
    Note, that the designation of the default kernel is via the symlink
    /boot/bzImage.x86_64, which is distributed by the distmaster.
    
    Resolves #74
    donald committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    8892188 View commit details
    Browse the repository at this point in the history