Merge remote-tracking branch 'origin/master' into kernel-4.14

This commit is contained in:
Arne Fitzenreiter
2018-04-03 20:15:58 +02:00
3 changed files with 11 additions and 0 deletions

View File

@@ -74,6 +74,12 @@ fi
# Remove deprecated SSH configuration option
sed -e "/UsePrivilegeSeparation/d" -i /etc/ssh/sshd_config
# Remove any pakfire keys stored in /
rm -rfv /.gnupg
# Move old pakfire keystore into new place
mv -v /root/.gnupg /opt/pakfire/etc/.gnupg
# Import new Pakfire key
/etc/init.d/pakfire start

View File

@@ -9,6 +9,8 @@
. /etc/sysconfig/rc
. ${rc_functions}
export GNUPGHOME="/opt/pakfire/etc/.gnupg"
case "${1}" in
start)
boot_mesg "Setting up Pakfire Package Manager..."

View File

@@ -24,6 +24,9 @@
delete @ENV{qw(IFS CDPATH ENV BASH_ENV PATH)};
$< = $>;
# Store keys here
$ENV{"GNUPGHOME"} = "/opt/pakfire/etc/.gnupg";
require "/opt/pakfire/lib/functions.pl";
my $interactive = 1;