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

Conversation

donald
Copy link
Collaborator

@donald donald commented Aug 20, 2019

Some updates to mxgrub....

mxgrub --initramfs builds /boot/grub/initramfs.igz from
/project/admin/initramf. Exclude ".git*", so we can put
the directory under revision control.
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
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
@pmenzel pmenzel merged commit 42f232a into master Sep 2, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants