update.amd (f739c8b75dd481825504edb895b1a69feb84cd4d) | update.amd (dd03b475cb030673a110ddade24162f09801d116) |
---|---|
1#!/bin/ksh 2 3# This file and its contents are supplied under the terms of the 4# Common Development and Distribution License ("CDDL"), version 1.0. 5# You may only use this file in accordance with the terms of version 6# 1.0 of the CDDL. 7# 8# A full copy of the text of the CDDL should have accompanied this --- 76 unchanged lines hidden (view full) --- 85 echo "Signature missing for ${f##*/}" 86 exit 1 87 fi 88 $GPG --homedir $tmp/gnupg --trust-model=always --verify $f{.asc,} 89done 90 91# Now that everything is in place and verified, begin modifying the tree. 92 | 1#!/bin/ksh 2 3# This file and its contents are supplied under the terms of the 4# Common Development and Distribution License ("CDDL"), version 1.0. 5# You may only use this file in accordance with the terms of version 6# 1.0 of the CDDL. 7# 8# A full copy of the text of the CDDL should have accompanied this --- 76 unchanged lines hidden (view full) --- 85 echo "Signature missing for ${f##*/}" 86 exit 1 87 fi 88 $GPG --homedir $tmp/gnupg --trust-model=always --verify $f{.asc,} 89done 90 91# Now that everything is in place and verified, begin modifying the tree. 92 |
93rm -f amd/* | 93rm -f amd/*-* amd/container |
94 95cp $tmp/ucode/LICENSE.amd-ucode amd/THIRDPARTYLICENSE 96echo AMD Processor Microcode Data Files > amd/THIRDPARTYLICENSE.descrip 97 98for f in $tmp/ucode/amd-ucode/*.bin; do 99 bf=${f##*/} 100 bf=${bf#microcode_} 101 bf=${bf%.bin} --- 29 unchanged lines hidden (view full) --- 131$PKGFMT -u $mf 132mv $mf $mf.tmp 133egrep -v "file path=$FW" $mf.tmp > $mf 134rm -f $mf.tmp 135 136for f in amd/*; do 137 bf=${f##*/} 138 [[ $bf = THIRDPARTYLICENSE* ]] && continue | 94 95cp $tmp/ucode/LICENSE.amd-ucode amd/THIRDPARTYLICENSE 96echo AMD Processor Microcode Data Files > amd/THIRDPARTYLICENSE.descrip 97 98for f in $tmp/ucode/amd-ucode/*.bin; do 99 bf=${f##*/} 100 bf=${bf#microcode_} 101 bf=${bf%.bin} --- 29 unchanged lines hidden (view full) --- 131$PKGFMT -u $mf 132mv $mf $mf.tmp 133egrep -v "file path=$FW" $mf.tmp > $mf 134rm -f $mf.tmp 135 136for f in amd/*; do 137 bf=${f##*/} 138 [[ $bf = THIRDPARTYLICENSE* ]] && continue |
139 [[ $bf = Makefile* ]] && continue |
|
139 echo "file path=$FW/$bf group=sys mode=0444 reboot-needed=true" >> $mf 140done 141 142sed -i "/pkg.fmri.*microcode\/amd@/s/@[0-9]*/@$ver/" $mf 143 144$PKGFMT -fv2 $mf 145 | 140 echo "file path=$FW/$bf group=sys mode=0444 reboot-needed=true" >> $mf 141done 142 143sed -i "/pkg.fmri.*microcode\/amd@/s/@[0-9]*/@$ver/" $mf 144 145$PKGFMT -fv2 $mf 146 |