-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhologram-uefi-bootloader.pkg.toml
More file actions
38 lines (33 loc) · 975 Bytes
/
hologram-uefi-bootloader.pkg.toml
File metadata and controls
38 lines (33 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "hologram-uefi-bootloader"
version = "1.3.2"
description = "hologram: UEFI bootloader using systemd-boot"
requires = [
"systemd", # for bootctl
"device-mapper",
]
[[action]]
on = "setup"
script = '''
echo 'If this package is installed for the first time, run `bootctl install`.'
'''
[[file]]
path = "/boot/loader/loader.conf"
content = """
default arch
timeout 1
"""
[[file]]
path = "/boot/loader/entries/arch.conf"
content = """
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=UUID={{.Vars.root_disk_uuid}} rw
"""
# This interpolation happens very late because other holograms might want to
# replace the variable usage in `root=...` when rewriting the bootloader entry.
# See e.g. hologram-uefi-bootloader-with-luks.
[[symlink]]
path = "/usr/share/holo/files/99-variables/boot/loader/entries/arch.conf.holoscript"
target = "/usr/bin/replicator"