Skip to content

Commit

Permalink
toybox is the best software ever created
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 committed Jul 31, 2024
1 parent eae74f2 commit 1c35ad2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion add_os/mimameid/add_ubuntutouch_systemimage_haliumboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "logo $1/logo.bin" >> "$BOOTSET/db/entries/$1.conf"
cp "$3" "$BOOTSET/$1/logo.bin"

# Create working dir
TEMP="$(mktemp -d install)"
TEMP="$(mktemp -d install.XXX)"
mkdir -p "$TEMP/boot"

# Copy boot
Expand Down
2 changes: 1 addition & 1 deletion add_os/vayu/add_ubuntutouch_systemimage_haliumboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sed -i "s#replaceme#systempart=/dev/mmcblk0p$4 datapart=/dev/mmcblk0p$5#g" "$BOO
# Copy ut vendor
e2fsck -f "/dev/block/mmcblk0p$4"
resize2fs "/dev/block/mmcblk0p$4"
TEMP="$(mktemp -d install)"
TEMP="$(mktemp -d install.XXX)"
mkdir -p "$TEMP/mnt"
mount "/dev/block/mmcblk0p$4" "$TEMP/mnt"
cp "$3" "$TEMP/mnt/var/lib/lxc/android/vendor.img"
Expand Down
2 changes: 1 addition & 1 deletion add_os/vidofnir/add_ubuntutouch_systemimage_haliumboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "logo $1/logo.bin" >> "$BOOTSET/db/entries/$1.conf"
cp "$3" "$BOOTSET/$1/logo.bin"

# Create working dir
TEMP="$(mktemp -d install)"
TEMP="$(mktemp -d install.XXX)"
mkdir -p "$TEMP/boot"

# Copy boot
Expand Down
2 changes: 1 addition & 1 deletion add_os/yggdrasil/add_sailfish.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/system/bin/sh

# Create working dir
TEMP="$(mktemp -d install)"
TEMP="$(mktemp -d install.XXX)"
mkdir -p "$TEMP/sfos/rd"
mkdir -p "$TEMP/boot"
mkdir -p "$TEMP/mnt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "logo $1/logo.bin" >> "$BOOTSET/db/entries/$1.conf"
cp "$3" "$BOOTSET/$1/logo.bin"

# Create working dir
TEMP="$(mktemp -d install)"
TEMP="$(mktemp -d install.XXX)"
mkdir -p "$TEMP/boot"

# Copy boot
Expand Down
2 changes: 1 addition & 1 deletion install/vayu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Create folder for current OS
mkdir -p "$BOOTSET/$1"
TEMP="$(mktemp -d install)"
TEMP="$(mktemp -d install.XXX)"
mkdir -p "$TEMP/boot"
# TODO $BOOTSET/..? is this implementation detail?
cp "$BOOTSET"/../backup_lk*.img "$TEMP/boot/boot.img"
Expand Down

0 comments on commit 1c35ad2

Please sign in to comment.