Replaced glibc_libc and glibc_ld-linux with metapackages
Their provided by the initramfs, no need to waste disk space
This commit is contained in:
		
							parent
							
								
									74a2048082
								
							
						
					
					
						commit
						8d4e490f66
					
				| @ -1,31 +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/ld-linux.so.2 $DESTDIR/lib/ | ||||
| 
 | ||||
| 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" | ||||
|  | ||||
| @ -1,31 +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/libc.so.6 $DESTDIR/lib/ | ||||
| 
 | ||||
| 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" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user