diff options
| author | Shulhan <ms@kilabit.info> | 2022-07-03 02:44:36 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-07-25 19:29:22 +0700 |
| commit | ab59d4594202172caf6d2ba05cf27712f84e8a94 (patch) | |
| tree | fcf31f167bac94bd299e03d65183d35f152061ee /sys | |
| parent | 885f8119b4bc45805522c51428243e7928d13093 (diff) | |
| download | compute-archlinux-image-builder-ab59d4594202172caf6d2ba05cf27712f84e8a94.tar.xz | |
all: use predefined files to configure boot loader
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/efi/loader/entries/arch.conf | 4 | ||||
| -rw-r--r-- | sys/efi/loader/loader.conf | 2 | ||||
| -rw-r--r-- | sys/etc/pacman.d/hooks/00-systemd-boot.hook | 9 |
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/efi/loader/entries/arch.conf b/sys/efi/loader/entries/arch.conf new file mode 100644 index 0000000..3f36b44 --- /dev/null +++ b/sys/efi/loader/entries/arch.conf @@ -0,0 +1,4 @@ +title Arch Linux +linux /vmlinuz-linux +initrd /initramfs-linux.img +options rw console=ttyS0,38400n8 net.ifnames=0 scsi_mod.use_blk_mq=Y diff --git a/sys/efi/loader/loader.conf b/sys/efi/loader/loader.conf new file mode 100644 index 0000000..6c5641d --- /dev/null +++ b/sys/efi/loader/loader.conf @@ -0,0 +1,2 @@ +default arch.conf +editor no diff --git a/sys/etc/pacman.d/hooks/00-systemd-boot.hook b/sys/etc/pacman.d/hooks/00-systemd-boot.hook new file mode 100644 index 0000000..d65c027 --- /dev/null +++ b/sys/etc/pacman.d/hooks/00-systemd-boot.hook @@ -0,0 +1,9 @@ +[Trigger] +Type = Package +Operation = Upgrade +Target = systemd + +[Action] +Description = Gracefully upgrading systemd-boot... +When = PostTransaction +Exec = /usr/bin/systemctl restart systemd-boot-update.service |
