GPU supporting: remove linux-image and linux-headers from diskfull pkglist, modify hackuname to not overwrite uname-binary
This commit is contained in:
parent
2ad95b27e4
commit
e959e5a698
@ -3,8 +3,6 @@ nfs-common
|
||||
openssl
|
||||
isc-dhcp-client
|
||||
libc-bin
|
||||
linux-image-generic-lts-utopic
|
||||
linux-headers-generic-lts-utopic
|
||||
openssh-server
|
||||
openssh-client
|
||||
wget
|
||||
|
@ -3,8 +3,6 @@ nfs-common
|
||||
openssl
|
||||
isc-dhcp-client
|
||||
libc-bin
|
||||
linux-image-generic-lts-utopic
|
||||
linux-headers-generic-lts-utopic
|
||||
openssh-server
|
||||
openssh-client
|
||||
wget
|
||||
|
@ -1913,13 +1913,12 @@ sub load_dd ()
|
||||
|
||||
#To hack the uname
|
||||
sub use_hackuname {
|
||||
if ( -e "$rootimg_dir/bin/uname-binary") {
|
||||
system("rm $rootimg_dir/bin/uname-binary");
|
||||
unless ( -e "$rootimg_dir/bin/uname-binary") {
|
||||
if ( -e -x "$rootimg_dir/bin/uname" ) {
|
||||
move("$rootimg_dir/bin/uname", "$rootimg_dir/bin/uname-binary");
|
||||
}
|
||||
}
|
||||
if ( -e -x "$rootimg_dir/bin/uname" ) {
|
||||
move("$rootimg_dir/bin/uname", "$rootimg_dir/bin/uname-binary");
|
||||
}
|
||||
|
||||
|
||||
# write the hacked uname script
|
||||
my $unamefile;
|
||||
open($unamefile, ">", "$rootimg_dir/bin/uname");
|
||||
|
Loading…
Reference in New Issue
Block a user