Add python package to install. Keep pacman-key keyring

This commit is contained in:
null31 2024-03-24 14:34:39 +01:00
parent acb40467e8
commit 60f98845d2
Signed by: null31
GPG Key ID: CAB4CF4EE49720FF
1 changed files with 1 additions and 4 deletions

View File

@ -11,7 +11,7 @@ use IPC::Open2;
use IPC::Open3; use IPC::Open3;
use UUID; use UUID;
use Cwd; use Cwd;
my @BASE_PACKAGES = qw(base openssh vi nano); my @BASE_PACKAGES = qw(base openssh vi nano python);
my @BASE_EXCLUDES = qw( my @BASE_EXCLUDES = qw(
e2fsprogs e2fsprogs
jfsutils jfsutils
@ -691,9 +691,6 @@ sub finalize {
$mirrors = "\nServer = https://geo.mirror.pkgbuild.com/\$repo/os/\$arch\n\n" . $mirrors; $mirrors = "\nServer = https://geo.mirror.pkgbuild.com/\$repo/os/\$arch\n\n" . $mirrors;
write_file($mirrors, $file, 0644); write_file($mirrors, $file, 0644);
print "Removing weak temporary pacman keyring...\n";
rmtree("$rootdir/etc/pacman.d/gnupg");
my $sizestr = $self->run_command("du -sm $rootdir", undef, 1); my $sizestr = $self->run_command("du -sm $rootdir", undef, 1);
my $size; my $size;
if ($sizestr =~ m/^(\d+)\s+\Q$rootdir\E$/) { if ($sizestr =~ m/^(\d+)\s+\Q$rootdir\E$/) {