From 2f02f9d812e16a2290138255c848adf017fce8f2 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Wed, 15 Jun 2016 11:39:14 +0200 Subject: lvc: do plumbing to kick off lvc when a pu branch created a new miniiso Signed-off-by: Holger Levsen --- bin/d-i_build.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bin/d-i_build.sh') diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index 09903625..3c6540cc 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -91,6 +91,21 @@ preserve_pu_udebs() { cp $WORKSPACE/../*.udeb $PU_BRANCH_DIR } +preserve_miniiso() { + # + # check if we built the images + # + IMAGETAR=../debian-installer-images_*.tar.gz + [ -f $IMAGETAR ] || return 0 + + TARGETGTK=/srv/d-i/isos/mini-gtk.iso + TARGETTEXT=/srv/d-i/isos/mini-text.iso + + tar -xvzf $IMAGETAR --no-anchored mini.iso + mv -f installer-*/*/images/netboot/gtk/mini.iso $TARGETGTK # FIXME should probably include the data and the ARCH in the name, and if in a pu/ branch that as well + #mv installer-*/*/images/netboot/mini.iso $TARGETTEXT +} + clean_workspace # # if $1 is not given, build the package normally, @@ -99,6 +114,7 @@ clean_workspace if [ "$1" = "" ] ; then pdebuild_package preserve_pu_udebs + preserve_miniiso else echo do something else ; exit 1 fi -- cgit v1.2.3-54-g00ecf