Commit 89e461b6 authored by fuyanbin's avatar fuyanbin
Browse files

不解压缩,在starthuep.sh 里解压缩

parent 2e78d26d
......@@ -25,11 +25,9 @@ fi
mkdir "$build_dir/system"
sudo mount "$loopdev" "$build_dir/system"
sudo wget -P "$build_dir/system/" -O "$zippath"
sudo mkdir -p "$build_dir/system/smallp"
sudo unzip -q "$build_dir/system/$zipname" -d "$build_dir/system/smallp"
sudo chmod 777 "$starthugepfile"
sudo wget -P "$build_dir/system/" -O "$build_dir/system/bin/hugep-all.zip"
sudo chmod 777 "$starthugepfile"
sudo cp -f "$smallprcfile" "$build_dir/system/etc/init/"
sudo cp -f "$starthugepfile" "$build_dir/system/bin/"
sudo chcon u:object_r:drmserver_exec:s0 "$build_dir/system/bin/$(basename "$starthugepfile")"
......@@ -44,6 +42,7 @@ sudo chcon u:object_r:drmserver_exec:s0 "$build_dir/system/bin/$(basename "$setm
sudo umount "$loopdev"
sudo losetup -d "$loopdev"
rm -rf "$build_dir/system"
sync
if [[ -f "$systemfile_ext4" ]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment