Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
58057664
Unverified
Commit
58057664
authored
Dec 08, 2024
by
wukongdaily
Committed by
GitHub
Dec 08, 2024
Browse files
Update build.sh
parent
fb047f1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rockchip/build.sh
rockchip/build.sh
+4
-4
No files found.
rockchip/build.sh
View file @
58057664
#!/bin/bash
#
获取
PROFILE
环境变量
#
yml 传入的路由器型号
PROFILE
echo
"Building for profile:
$PROFILE
"
#
获取 rootfs_partsize 环境变量
echo
"Building for
rootfs_partsize:
$rootfs_partsize
"
#
yml 传入的固件大小 ROOTFS_PARTSIZE
echo
"Building for
ROOTFS_PARTSIZE:
$ROOTFS_PARTSIZE
"
...
...
@@ -32,7 +32,7 @@ PACKAGES="$PACKAGES luci-i18n-dockerman-zh-cn"
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
echo
"
$PACKAGES
"
make image
PROFILE
=
$PROFILE
PACKAGES
=
"
$PACKAGES
"
FILES
=
"/home/build/immortalwrt/files"
ROOTFS_PARTSIZE
=
$
rootfs_partsize
make image
PROFILE
=
$PROFILE
PACKAGES
=
"
$PACKAGES
"
FILES
=
"/home/build/immortalwrt/files"
ROOTFS_PARTSIZE
=
$
ROOTFS_PARTSIZE
if
[
$?
-ne
0
]
;
then
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Error: Build failed!"
...
...
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