[Slackbuilds-users] intel-microcode.SlackBuild - slight mod to save releasenotes

Konrad J Hambrick kjhambrick at gmail.com
Mon Jun 26 22:25:26 UTC 2017


Andrzej --

Attached is a patch for your intel-microcode.SlaclBuild so that it saves
the releasenotes file into /usr/docs/intel-microcode-$VERSION/

Might be handy to have after installing.

Thanks for your work !

I just used your SlackBuild to upgrade the ucode in my SkyLake 6700K !

-- kjh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170626/7c20ed18/attachment-0001.html>
-------------- next part --------------
--- intel-microcode.SlackBuild.orig	2017-05-26 21:11:54.595291790 -0500
+++ intel-microcode.SlackBuild	2017-06-26 17:17:38.165611080 -0500
@@ -44,8 +44,8 @@
 mkdir $SRCNAM-$VERSION
 tar xvf $CWD/$SRCNAM-$VERSION.tgz -C $SRCNAM-$VERSION
 cd $SRCNAM-$VERSION
-chown root:root microcode.dat
-chmod 0644      microcode.dat
+chown root:root microcode.dat releasenote
+chmod 0644      microcode.dat releasenote
 
 mkdir -p $PKG/lib/firmware
 cp -a microcode.dat $PKG/lib/firmware
@@ -58,6 +58,7 @@
 fi
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -p releasenote $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
 mkdir -p $PKG/install


More information about the SlackBuilds-users mailing list