summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index eaf62705e..92121b9ea 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -605,6 +605,13 @@ makeinitrd() {
instbin $IMGPATH /usr/sbin/$cmd $MBD_DIR /sbin/$cmd
done
+ # lsznet requirements
+ mkdir -p $MBD_DIR/lib/s390-tools
+ for lsznetbin in lsznet.raw znetcontrolunits ; do
+ target="/lib/s390-tools/$lsznetbin"
+ instbin $IMGPATH $target $MBD_DIR $target
+ done
+
# required for lsznet
instbin $IMGPATH /usr/bin/sort $MBD_DIR /sbin/sort
@@ -648,8 +655,6 @@ makeinitrd() {
else
instbin $IMGPATH ${LOADERBINDIR##$IMGPATH}/shutdown $MBD_DIR /sbin/shutdown
instbin $IMGPATH /usr/lib/anaconda-runtime/loader/linuxrc.s390 $MBD_DIR /sbin/init
- instbin $IMGPATH /usr/lib/anaconda-runtime/loader/lsznet.raw $MBD_DIR /sbin/lsznet
- instbin $IMGPATH /usr/lib/anaconda-runtime/loader/controlunits.sh $MBD_DIR /sbin/controlunits
instbin $IMGPATH /usr/sbin/dasdfmt $MBD_DIR /sbin/dasdfmt
fi