Replaced glibc_libm with a meta-package

Its provided by the initramfs
This commit is contained in:
bauen1 2017-11-28 21:03:10 +01:00
parent 8d4e490f66
commit af4818a95a
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C

View File

@ -1,32 +1,3 @@
#!/bin/sh
SRC_DIR=$(pwd)
. ../../common.sh
if [ ! -d $SYSROOT ] ; then
echo "Cannot continue - GLIBC is missing. Please buld GLIBC first."
exit 1
fi
mkdir -p "$WORK_DIR/overlay/$BUNDLE_NAME"
cd $WORK_DIR/overlay/$BUNDLE_NAME
DESTDIR="$PWD/${BUNDLE_NAME}_installed"
rm -rf $DESTDIR
mkdir -p $DESTDIR/lib
cp $SYSROOT/lib/libm.so.6 $DESTDIR/lib/
ln -s libm.so.6 $DESTDIR/lib/libm.so
echo "Reducing $BUNDLE_NAME size"
strip -g $DESTDIR/lib/*
ROOTFS="$WORK_DIR/src/minimal_overlay/rootfs"
cp -r $DESTDIR/* $ROOTFS
echo "$BUNDLE_NAME has been installed."
cd $SRC_DIR
echo "$BUNDLE_NAME is provided by the initramfs"