Skip to content

Commit 7a1dcbd

Browse files
committed
bug-fix:
- 初回build時にtinyalsaがinstallされない問題の対応
1 parent 15d664c commit 7a1dcbd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

buildscripts/build_all

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ git clone https://github.com/tinyalsa/tinyalsa.git -b v2.0.0 --depth 1
1919
export PREFIX=/usr
2020
export CFLAGS="-std=gnu99 -msoft-float"
2121
make install
22+
mkdir -p $ROOTFS/lib/modules
2223
cp ${DESTDIR}/usr/lib/libtinyalsa.so.* $ROOTFS/lib/modules
2324
)
2425

make.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ if docker-compose ps | grep builder ; then
55
fi
66
docker-compose up -d
77
docker-compose exec builder /src/buildscripts/build_all new
8-
[ $? != 0 ] && exit $?
8+
[ $? != 0 ] && exit 1
99
cd target
1010
zip -ry ../atomcam_tools.zip factory_t31_ZMC6tiIDQN rootfs_hack.ext2 hostname authorized_keys

rebuild_rootfs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ if ! docker-compose ps | grep builder ; then
44
docker-compose up -d
55
fi
66
docker-compose exec builder /src/buildscripts/build_all rebuild
7-
[ $? != 0 ] && exit $?
7+
[ $? != 0 ] && exit 1
88
cd target
99
zip -ry ../atomcam_tools.zip factory_t31_ZMC6tiIDQN rootfs_hack.ext2 hostname authorized_keys

0 commit comments

Comments
 (0)