]> code.delx.au - monosys/commitdiff
multiboot: Allow rewriting grub config without sudo.
authorGreg Darke <greg@tsukasa.net.au>
Thu, 19 May 2022 05:53:43 +0000 (15:53 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 27 May 2022 12:08:39 +0000 (22:08 +1000)
Allow the `MULTIBOOT_MNT` environment to be passed in. My usage of this
variable is as follows:

```shell
$ MULTIBOOT_MNT="$(findmnt -n -o target LABEL=multiboot)" ./multiboot-setup grubcfg
```

This allows simple updates of the grub config, while taking advantage of
the auto mounter provided by Gnome.


No differences found