mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Merge remote-tracking branch 'origin/master' into kernel-4.14
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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..."
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user