Modify.sh fixes
This commit is contained in:
parent
8d568f281e
commit
942dd146a2
@ -83,9 +83,12 @@ enable_rw_mount "$LOOP_DEV"p1
|
|||||||
mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
|
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"
|
|
||||||
echo "bash" > "$MOUNT_DIR/usr/sbin/factory_install.sh"
|
|
||||||
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
|
cp "inshim.sh" "$MOUNT_DIR/usr/bin/inshim.sh"
|
||||||
|
umount "$MOUNT_DIR"
|
||||||
|
enable_rw_mount "$LOOP_DEV"p3
|
||||||
|
mount "$LOOP_DEV"p3 "$MOUNT_DIR"
|
||||||
|
echo "bash" > "$MOUNT_DIR/usr/sbin/factory_install.sh"
|
||||||
|
|
||||||
umount "$MOUNT_DIR"
|
umount "$MOUNT_DIR"
|
||||||
sync
|
sync
|
||||||
sync
|
sync
|
||||||
|
Loading…
x
Reference in New Issue
Block a user