From 1bf80f77f7a8bb4ffdd203c60662421e3f8f589b Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 1 Oct 2017 17:19:40 -0300 Subject: Added configs/mate-openrc Other changes: - Updated talkingparabola-X11 packages.both (xorg pkgs) - Updated pacman-init service for profile-openrc --- configs/profile-openrc/build.sh | 3 +++ configs/profile-openrc/root-image/etc/init.d/pacman-init | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'configs/profile-openrc') 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 } -- cgit v1.2.2