--- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/microcode_ctl/PlamoBuild.microcode_ctl-2.1_6 2018-12-26 21:00:56.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://releases.pagure.org/microcode_ctl/microcode_ctl-2.1-6.tar.xz + https://files01.tchspt.com/tempd/microcode-20180108.tgz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=microcode_ctl +vers=2.1_6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P6 +src=$pkgbase-2.1-6 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README Changelog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,7 +51,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make MICROCODE_INTEL=$W/microcode-20180108.tgz fi done fi @@ -62,7 +63,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P PREFIX=/usr fi done touch $W/i.et @@ -71,9 +72,16 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + cp -a $W/releasenote $docdir/$src + chmod g-w $docdir/$src/releasenote + chown root.root $docdir/$src/releasenote + gzip_one $docdir/$src/releasenote + mv $docdir/$src/{releasenote,$func,$myname,$spec}.gz $C + mv $C/{releasenote,$func,$myname,$spec}.gz $docdir/$src + touch -r $S $docdir/$src convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P lib/firmware/intel-ucode tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz