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
fb047f1e
Unverified
Commit
fb047f1e
authored
Dec 08, 2024
by
wukongdaily
Committed by
GitHub
Dec 08, 2024
Browse files
Update build.sh
parent
7954e62b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
rockchip/build.sh
rockchip/build.sh
+4
-1
No files found.
rockchip/build.sh
View file @
fb047f1e
#!/bin/bash
#!/bin/bash
# 获取 PROFILE 环境变量
# 获取 PROFILE 环境变量
echo
"Building for profile:
$PROFILE
"
echo
"Building for profile:
$PROFILE
"
# 获取 rootfs_partsize 环境变量
echo
"Building for rootfs_partsize:
$rootfs_partsize
"
# 输出调试信息
# 输出调试信息
...
@@ -29,7 +32,7 @@ PACKAGES="$PACKAGES luci-i18n-dockerman-zh-cn"
...
@@ -29,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
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Building image with the following packages:"
echo
"
$PACKAGES
"
echo
"
$PACKAGES
"
make image
PROFILE
=
$PROFILE
PACKAGES
=
"
$PACKAGES
"
FILES
=
"/home/build/immortalwrt/files"
ROOTFS_PARTSIZE
=
"2048"
make image
PROFILE
=
$PROFILE
PACKAGES
=
"
$PACKAGES
"
FILES
=
"/home/build/immortalwrt/files"
ROOTFS_PARTSIZE
=
$rootfs_partsize
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Error: Build failed!"
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