make inshim.sh autorun
This commit is contained in:
parent
a39aa518b1
commit
b1a4ce7285
@ -84,14 +84,13 @@ mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
|
|||||||
mkdir -p "$MOUNT_DIR/usr/share/packeddata"
|
mkdir -p "$MOUNT_DIR/usr/share/packeddata"
|
||||||
cp -rvf "./out/." "$MOUNT_DIR/usr/share/packeddata"
|
cp -rvf "./out/." "$MOUNT_DIR/usr/share/packeddata"
|
||||||
mkdir -p "$MOUNT_DIR"/usr/bin
|
mkdir -p "$MOUNT_DIR"/usr/bin
|
||||||
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
|
|
||||||
umount "$MOUNT_DIR"
|
umount "$MOUNT_DIR"
|
||||||
enable_rw_mount "$LOOP_DEV"p3
|
enable_rw_mount "$LOOP_DEV"p3
|
||||||
mount "$LOOP_DEV"p3 "$MOUNT_DIR"
|
mount "$LOOP_DEV"p3 "$MOUNT_DIR"
|
||||||
echo "bash" > "$MOUNT_DIR/usr/sbin/factory_install.sh"
|
cp "inshim.sh" "$MOUNT_DIR/usr/sbin/factory_install.sh"
|
||||||
|
|
||||||
umount "$MOUNT_DIR"
|
umount "$MOUNT_DIR"
|
||||||
sync
|
sync
|
||||||
sync
|
sync
|
||||||
sync
|
sync
|
||||||
echo "success!"
|
echo "success!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user