mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 12:20:40 +00:00
Workaround for Ubuntu 18.04 busybox bug (#5421)
* Workaround for Ubuntu 18.04 busybox bug https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1753572 * Add cpio to the Ubuntu 18.04 diskless pkglist
This commit is contained in:
@ -16,3 +16,4 @@ dnsutils
|
||||
tar
|
||||
gzip
|
||||
xz-utils
|
||||
cpio
|
||||
|
@ -16,3 +16,4 @@ dnsutils
|
||||
tar
|
||||
gzip
|
||||
xz-utils
|
||||
cpio
|
||||
|
@ -1650,6 +1650,16 @@ EOMS
|
||||
push @filestoadd, $_;
|
||||
}
|
||||
|
||||
# Workaround for Ubuntu 18.04 busybox bug
|
||||
# https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1753572
|
||||
# On Ubuntun 18.04, will use GNU cpio instead of busybox cpio
|
||||
if ("ubuntu18.04" eq $osver) {
|
||||
foreach ("bin/cpio") {
|
||||
getlibs($_);
|
||||
push @filestoadd, $_;
|
||||
}
|
||||
}
|
||||
|
||||
# Additional binaries needed for udev on s390x
|
||||
if ($arch eq "s390x") {
|
||||
foreach ("sbin/udevsettle", "sbin/udevtrigger", "sbin/udevd", "sbin/depmod") {
|
||||
|
Reference in New Issue
Block a user