From af5301faab58a3df6bf84df48b4f1214c7955acc Mon Sep 17 00:00:00 2001 From: ertaozh Date: Wed, 7 Jan 2015 00:05:54 -0500 Subject: [PATCH 1/3] enhance for fix bug 4466: ubuntu 14.10 genimage for netboot results in an unbootable image --- xCAT-server/share/xcat/netboot/ubuntu/genimage | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index d90cfa90b..2d30235e4 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -382,15 +382,11 @@ unless ($onlyinitrd) { # The section below is used to install kernel base and extra# ############################################################# if ($kernelimage) { - my $kernelextraimage = undef; if ($kernelver) { - $kernelimage = "linux-image-".$kernelver; - $kernelextraimage = "linux-image-extra-".$kernelver; + $kernelimage = "linux-image-$kernelver linux-image-extra-$kernelver linux-firmware"; } my $aptgetcmd_install = $aptgetcmd . "&&". $aptgetcmdby. " install --no-install-recommends ".$kernelimage; $rc = system("$aptgetcmd_install"); - $aptgetcmd_install = $aptgetcmd . "&&". $aptgetcmdby. " install --no-install-recommends ". $kernelextraimage; - $rc = system("$aptgetcmd_install"); } } From 4ea9e9d6fccf96adbd31220472ab963114ab58b6 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 7 Jan 2015 01:31:46 -0500 Subject: [PATCH 2/3] Change the gpg key to [xCAT Security Key] --- buildcore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildcore.sh b/buildcore.sh index a07099f23..2e8f3b822 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -359,7 +359,7 @@ if [ "$OSNAME" != "AIX" ]; then echo '%_signature gpg' >> $MACROS fi if ! $GREP '%_gpg_name' $MACROS 2>/dev/null; then - echo '%_gpg_name Jarrod Johnson' >> $MACROS + echo '%_gpg_name xCAT Security Key' >> $MACROS fi echo "Signing RPMs..." build-utils/rpmsign.exp `find $DESTDIR -type f -name '*.rpm'` | grep -v -E '(already contains identical signature|was already signed|rpm --quiet --resign|WARNING: standard input reopened)' From a73c0687482fc097d707ed5549b23d80a4daa551 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 7 Jan 2015 20:51:08 -0500 Subject: [PATCH 3/3] Change the gpg key to [xCAT Security Key] --- builddep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builddep.sh b/builddep.sh index 62c13467d..ab8839896 100755 --- a/builddep.sh +++ b/builddep.sh @@ -92,7 +92,7 @@ if [ "$OSNAME" != "AIX" ]; then echo '%_signature gpg' >> $MACROS fi if ! $GREP -q '%_gpg_name' $MACROS 2>/dev/null; then - echo '%_gpg_name Jarrod Johnson' >> $MACROS + echo '%_gpg_name xCAT Security Key' >> $MACROS fi # Sign the rpms that are not already signed. The "standard input reopened" warnings are normal.