Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
77a8d25e
Commit
77a8d25e
authored
Nov 21, 2023
by
fuyanbin
Browse files
用setmac service 持久化设备mac地址
parent
de859d54
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
77a8d25e
...
...
@@ -30,6 +30,11 @@ sudo cp -f "$uninstallpkgrc" "$build_dir/system/etc/init"
sudo cp
-f
"
$uninstallpkgfile
"
"
$build_dir
/system/bin"
sudo chcon
u:object_r:drmserver_exec:s0
"
$build_dir
/system/bin/
$(
basename
"
$uninstallpkgfile
"
)
"
sudo cp
-f
"
$setmacrc
"
"
$build_dir
/system/etc/init"
sudo cp
-f
"
$setmacfile
"
"
$build_dir
/system/bin"
sudo chcon
u:object_r:drmserver_exec:s0
"
$build_dir
/system/bin/
$(
basename
"
$setmacfile
"
)
"
sudo
umount
"
$loopdev
"
sudo
losetup
-d
"
$loopdev
"
sync
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment