X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=c229448e5c149269ac988d732c9a99c207fa1139;hb=b89346323c897f23a53d65b22dd7ff984864d7f7;hp=0c46d0032300e837a3b1f69bb84049f7614d87a5;hpb=8795132e3cc5937788a27947d2af7aa9881dcec3;p=grml-live.git diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index 0c46d00..c229448 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -24,7 +24,22 @@ EOF # skip the task if we want to build a new ISO only: [ -n "$BUILD_ONLY" ] && skiptask instsoft || /bin/true + +else # no softupdate but updating chroot based on /etc/grml/fai/config/basefiles/* + +# install all apt related files +fcopy -r /etc/apt + +# remove grml-live's notice file from chroot: +if [ -r $target/etc/apt/important_note.txt ] ; then + grep -q GRML_LIVE_SOURCES $target/etc/apt/important_note.txt && rm $target/etc/apt/important_note.txt fi +# install grml gpg key: +fcopy /etc/apt/grml.key +$ROOTCMD apt-key add /etc/apt/grml.key + +fi # softupdate check + ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3