summaryrefslogtreecommitdiff
path: root/configs/profile-openrc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile-openrc')
-rwxr-xr-xconfigs/profile-openrc/build.sh3
-rwxr-xr-xconfigs/profile-openrc/root-image/etc/init.d/pacman-init9
2 files changed, 8 insertions, 4 deletions
diff --git a/configs/profile-openrc/build.sh b/configs/profile-openrc/build.sh
index 741160f..97fcc35 100755
--- a/configs/profile-openrc/build.sh
+++ b/configs/profile-openrc/build.sh
@@ -125,6 +125,7 @@ make_isolinux() {
# Prepare /EFI
make_efi() {
+ mkdir -p ${work_dir}/iso/EFI/boot
mkdir -p ${work_dir}/iso/loader/entries
cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/iso/loader/
cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/iso/loader/entries/
@@ -153,6 +154,8 @@ make_efiboot() {
cp ${work_dir}/iso/${install_dir}/boot/x86_64/vmlinuz ${work_dir}/efiboot/EFI/parabolaiso/vmlinuz.efi
cp ${work_dir}/iso/${install_dir}/boot/x86_64/parabolaiso.img ${work_dir}/efiboot/EFI/parabolaiso/parabolaiso.img
+ mkdir -p ${work_dir}/efiboot/EFI/boot
+
mkdir -p ${work_dir}/efiboot/loader/entries
cp ${script_path}/efiboot/loader/loader.conf ${work_dir}/efiboot/loader/
cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/efiboot/loader/entries/
diff --git a/configs/profile-openrc/root-image/etc/init.d/pacman-init b/configs/profile-openrc/root-image/etc/init.d/pacman-init
index ccc884c..b610683 100755
--- a/configs/profile-openrc/root-image/etc/init.d/pacman-init
+++ b/configs/profile-openrc/root-image/etc/init.d/pacman-init
@@ -1,23 +1,24 @@
#!/usr/bin/openrc-run
# Copyright (C) 2017 Parabola Project
-# Copyright 2013-2017 Gentoo Foundation
+# Copyright (C) Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Initializes Pacman keyring"
depend() {
use haveged
- after haveged
+ after haveged
}
start() {
# Check that there's no keyring, if there isn't, create one
+ # in the background for a faster boot
if [ ! -d /etc/pacman.d/gnupg ]; then
ebegin "Starting Pacman keyring"
- pacman-key --init &> /dev/null
+ pacman-key --init &> /dev/null &&
pacman-key --populate archlinux parabola &> /dev/null
else
- ebegin "Pacman Keyring already started"
+ ebegin "Pacman keyring already started"
fi
}