libera/#devuan-dev/ Sunday, 2020-08-16

ShorTiein a preinst/postinst is there a arch variable availible already ??20:14
fsmithredShorTie, I don't think so, but none of my packages are arch-specific. This page shows supported environment variables for make, but not for the pre/post scripts. https://www.debian.org/doc/debian-policy/ch-source.html About halfway down the page.20:38
ShorTieok, Thankz20:40
ShorTiethis 3 hour test cycle is kickin my ass, lol.20:40
ShorTieor i'm doing it wrong, hmmmm....20:41
ShorTiemaybe i need/could use like a smoothwall-linux-amd64.postinst smoothwall-linux-arm64.postinst script in stead of a all in one .. :/~20:45
ShorTiethat how they do it i guess....20:45
ShorTiei don't think i need any thing for a preinst-amd64, as i'm installing a specific kernel20:47
ShorTieso i don't need any backup's other then grub.conf20:48
ShorTiehmmm, that means a preinst really20:48
ShorTieThankz Guys20:49
fsmithredpostinst is different for the different arch?20:55
ShorTieyes sir20:57
ShorTiearm64 has not grub at least20:58
fsmithredif [ -e /var/lib/dpkg/info/grub-common.list ] ; then what, update-grub?21:40
fsmithredelse do arm stuff21:40
fsmithredthat won't work if they have lilo or extlinux21:40
yetiifdef it @deb build time?21:41
yetiyou know what you are compiling a deb for, so some ifs in the makefile can prepare it... maybe smuggling a var into postinstall scrips?21:42
yetiwhat->what arch21:43
ShorTiei i'm smuggling in the version21:58
ShorTiebut breaking them up into amd64/arm64 is really more the Debian way I think22:00
fsmithredYou're right. Example: linux-headers-4.19.0-8-amd64.postinst22:06
fsmithredno, that's not right22:06
fsmithredthat's just part of the package name22:06
fsmithredI don't see any others with the arch in the postinst file name.22:06

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!