Skip to content

Commit 2c56c21

Browse files
committed
Add build script
1 parent ceb8a07 commit 2c56c21

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

build.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
cd `dirname $0`
4+
chown -R alarm:alarm linux-aarch64-beikeyun-p1 linux-firmware-armbian linux-uboot-beikeyun-p1
5+
6+
echo "Building Linux image... "
7+
cd linux-aarch64-beikeyun-p1
8+
runuser -u alarm updpkgsums
9+
runuser -u alarm -- makepkg -Ccf
10+
mv *.tar.xz ../
11+
cd ..
12+
echo -e "done.\n\n"
13+
14+
echo "Building Linux Firmware... "
15+
cd linux-firmware-armbian
16+
runuser -u alarm -- makepkg -Ccf
17+
mv *.tar.xz ../
18+
cd ..
19+
echo -e "done.\n\n"
20+
21+
echo "Building U-Boot... "
22+
cd linux-uboot-beikeyun-p1
23+
runuser -u alarm -- makepkg -Ccf
24+
mv *.tar.xz ../
25+
cd ..
26+
echo -e "done.\n\n"

0 commit comments

Comments
 (0)