mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
build.sh: ignore initramfs configs when using all
argument
This commit is contained in:
parent
f57d036853
commit
d400468a5c
2
build.sh
2
build.sh
@ -16,7 +16,7 @@ osversion=$(source $basedir/board/common/overlay/etc/version && echo $os_version
|
||||
gzip=$(which pigz || which gzip)
|
||||
|
||||
if [ "$board" == "all" ]; then
|
||||
boards=$(ls $basedir/configs/*_defconfig | grep -oE '\w+_defconfig$' | cut -d '_' -f 1)
|
||||
boards=$(ls $basedir/configs/*_defconfig | grep -v initramfs | grep -oE '\w+_defconfig$' | cut -d '_' -f 1)
|
||||
for b in $boards; do
|
||||
if ! $0 $b $target; then
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user