mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Undo verify packaging command PR 6216
This commit is contained in:
parent
e9c38e3693
commit
ac6f514ca9
@ -255,12 +255,6 @@ unless ($onlyinitrd) {
|
||||
my $non_interactive;
|
||||
if (!$prompt) { $non_interactive = "--non-interactive --no-gpg-checks --gpg-auto-import-keys"; }
|
||||
|
||||
my $zypper_cmd = "zypper";
|
||||
if (! -x $zypper_cmd) {
|
||||
print "Can not execute $zypper_cmd command. Make sure you are running on SUSE based system";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
if ($osver_host >= 11) { #zypper in SLES11 is different
|
||||
|
||||
system("rm -rf $rootimg_dir/etc/zypp/repos.d/$osver-*.repo");
|
||||
|
@ -333,10 +333,6 @@ unless ($onlyinitrd) {
|
||||
}
|
||||
}
|
||||
|
||||
if (! -x $aptcmd1) {
|
||||
print "Error: Can not execute $aptcmd1 command. Make sure you are running on a Debian based system.\n";
|
||||
exit 1;
|
||||
}
|
||||
print "Run cmd [$aptcmd1 $aptcmd2] to create rootimage bootstraps\n";
|
||||
my $rc = system("$aptcmd1 $aptcmd2");
|
||||
if ($rc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user