diff options
| author | Ivan K. Boikov <mail@ikboikov.net> | 2025-07-05 18:39:53 +0200 |
|---|---|---|
| committer | Ivan K. Boikov <mail@ikboikov.net> | 2026-07-05 19:08:04 +0200 |
| commit | 398030a68c8a0b175c01b9f8e20e567737555160 (patch) | |
| tree | c5ee37e18c9e88cf703f63421514a5382266d2d3 | |
| parent | 2dcf70cc50da0e7ae4b7dca455b0bae07e9dbc10 (diff) | |
new drive
| -rw-r--r-- | dracut/dracut.conf.d/dracut.conf | 2 | ||||
| -rw-r--r-- | fstab/fstab | 14 | ||||
| -rwxr-xr-x | kernel/kernel/postinst.d/efi.install | 6 | ||||
| l--------- | portage/portage/make.profile | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/dracut/dracut.conf.d/dracut.conf b/dracut/dracut.conf.d/dracut.conf index 76255a4..127b677 100644 --- a/dracut/dracut.conf.d/dracut.conf +++ b/dracut/dracut.conf.d/dracut.conf @@ -12,7 +12,7 @@ uefi="yes" # OpenRC does not care for /etc/crypttab, but dracut, being a Redhat's child (a therefore a systemd fanboy) will # instead of adding a /etc/crypttab just for dracut, we specify LUKS name # why this is not documented anywhere but the depths of forums - I have no goddamn clue; thanks, GlowHat -kernel_cmdline="rd.luks.name=3b7ef73e-87bc-47e2-a719-055508c37269=root root=/dev/mapper/root rd.lvm=0 rd.md=0 rd.dm=0" +kernel_cmdline="rd.luks.name=5ad2fc2f-9952-4bc7-8e61-68fc316c2f87=root root=/dev/mapper/root rd.lvm=0 rd.md=0 rd.dm=0" uefi_secureboot_cert="/etc/secrets/efi/db.crt" uefi_secureboot_key="/etc/secrets/efi/db.key" diff --git a/fstab/fstab b/fstab/fstab index 91d1188..6da9cd6 100644 --- a/fstab/fstab +++ b/fstab/fstab @@ -23,13 +23,13 @@ # documentation for details on setting a label. To obtain the UUID, use # the blkid(8) command. -UUID=459cc4ae-8779-4362-92b4-2b5f54c336da /boot ext2 noatime 0 2 -UUID=D0E2-4312 /boot/efi vfat noatime 0 2 -UUID=7f436ba9-0529-4a6a-8bb2-46f8ef203968 / btrfs noatime,compress-force=zstd,autodefrag,subvol=@ 0 1 -UUID=7f436ba9-0529-4a6a-8bb2-46f8ef203968 /home btrfs noatime,compress-force=zstd,autodefrag,subvol=@home 0 2 -UUID=7f436ba9-0529-4a6a-8bb2-46f8ef203968 /.snapshots btrfs noatime,compress-force=zstd,autodefrag,subvol=@snapshots 0 2 -UUID=7f436ba9-0529-4a6a-8bb2-46f8ef203968 /.swap btrfs noatime,subvol=@swap 0 0 -/.swap/swapfile none swap sw,loop 0 0 +UUID=22C4-F8AF /boot vfat noatime 0 2 +UUID=2817c671-ffa6-4237-a8cf-6ff9bebba2d7 / btrfs noatime,compress=lzo,autodefrag,subvol=@ 0 1 +UUID=2817c671-ffa6-4237-a8cf-6ff9bebba2d7 /home btrfs noatime,compress=lzo,autodefrag,subvol=@home 0 2 +UUID=2817c671-ffa6-4237-a8cf-6ff9bebba2d7 /var/vm btrfs noatime,compress=lzo,autodefrag,subvol=@vm 0 2 +UUID=2817c671-ffa6-4237-a8cf-6ff9bebba2d7 /var/cache/distfiles btrfs noatime,compress=lzo,autodefrag,subvol=@distfiles 0 2 +UUID=2817c671-ffa6-4237-a8cf-6ff9bebba2d7 /var/cache/binpkgs btrfs noatime,compress=lzo,autodefrag,subvol=@binpkgs 0 2 +UUID=aeae28b8-d193-40f0-a8a0-67c6a1b2dcdb none swap sw 0 0 # /tmp is not mounted as tmpfs automatically by OpenRC tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=12G,mode=1777,rootcontext=system_u:object_r:tmp_t:s0 0 0 diff --git a/kernel/kernel/postinst.d/efi.install b/kernel/kernel/postinst.d/efi.install index 974aa94..2101d7d 100755 --- a/kernel/kernel/postinst.d/efi.install +++ b/kernel/kernel/postinst.d/efi.install @@ -8,7 +8,7 @@ # adapted from https://forums.gentoo.org/viewtopic-p-8810619.html ver=${1} -mkdir -pv "/boot/efi/gentoo" -cp -v "/boot/config-${ver}" "/boot/efi/EFI/gentoo/config" -cp -v "/boot/vmlinuz-${ver}.efi" "/boot/efi/EFI/gentoo/bootx64.efi" +mkdir -pv "/boot/efi/" +#cp -v "/boot/config-${ver}" "/boot/efi/config" +cp -v "/boot/vmlinuz-${ver}.efi" "/boot/efi/bootx64.efi" #rm -v /boot/*${ver}* diff --git a/portage/portage/make.profile b/portage/portage/make.profile index eff5795..b0d7139 120000 --- a/portage/portage/make.profile +++ b/portage/portage/make.profile @@ -1 +1 @@ -../../../../var/db/repos/gentoo/profiles/default/linux/amd64/23.0/split-usr/hardened/selinux
\ No newline at end of file +../../../../var/db/repos/gentoo/profiles/default/linux/amd64/23.0/hardened/selinux
\ No newline at end of file |
