From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Question about Pakfire Update process Date: Sun, 22 Mar 2015 22:35:10 +0100 Message-ID: <1427060110.14172.124.camel@ipfire.org> In-Reply-To: <550E8EA7.4030602@web.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0340152084739897753==" List-Id: --===============0340152084739897753== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Timmothy, On Sun, 2015-03-22 at 10:43 +0100, IT Superhack wrote: > Hi everybody, > > I am currently working on bug #10767. thanks for looking into this. > During the last week, I wrote a shell script which compares the > running kernel to the installed kernel files (/boot/...). If they are > different, it recreates the files "boot.script" and "boot.scr". > Because of that, the user doesn't have to do this after every kernel > update. I do not really get what this script is supposed to do. In case of an update, the boot.script file will be overwritten any way. The version with the binary header can then be created at build time. What are you exactly trying to solve here? > However, the script needs to be triggered after a kernel update took > place. (Of course, I could copy it into /etc/cron.hourly/, but in my > opinion, this is not a good solution.) I guess it needs to be > triggered by Pakfire after the update process is done. Cron is never the solution. > Now comes my question: How do I do this? How can I tell Pakfire to run > a custom shell script after an update? > > I would be very greatful if you could mail me some hints. > > Best regards, > Timmothy Wilson > _______________________________________________ > Development mailing list > Development(a)lists.ipfire.org > http://lists.ipfire.org/mailman/listinfo/development --===============0340152084739897753== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlZEeldPQUFvSkVJQjU4UDl2a0FrSER5VVArUUczR3ZLT3dWb0RXMHBMeFlOcHM1UEsK ZFE1TVN4YjBZY3RoVEVnWnhJR1dUVHVMU242YWE1d21qYXI1czN2QmNST1czVG5GUU1kRkc4OVdt N0xwZ2dnTApXNWtDTXA4RzBkaEpCeURNd2N2R3h2VHZlS0Jk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