Merge branch 'genofire-master-patch-74380' into 'master'
fix ci See merge request genofire/wifictld!1
This commit is contained in:
commit
5fd407fed6
|
@ -1,7 +1,7 @@
|
||||||
cd /builds/$CI_PROJECT_PATH/wireless/
|
cd $CI_PROJECT_DIR/wireless/
|
||||||
PKGS="wifictld"
|
PKGS=$(ls)
|
||||||
|
|
||||||
cd ~/build_dir
|
cd $CI_PROJECT_DIR/build_dir
|
||||||
|
|
||||||
echo "=== Found new/modified packages: $PKGS"
|
echo "=== Found new/modified packages: $PKGS"
|
||||||
for PKG in $PKGS ; do
|
for PKG in $PKGS ; do
|
||||||
|
@ -10,7 +10,6 @@ for PKG in $PKGS ; do
|
||||||
|
|
||||||
echo "===+ Check package: $PKG"
|
echo "===+ Check package: $PKG"
|
||||||
make "package/$PKG/check" V=s 2>&1 | tee logtmp
|
make "package/$PKG/check" V=s 2>&1 | tee logtmp
|
||||||
RET=${PIPESTATUS[0]}
|
|
||||||
|
|
||||||
if [ $RET -ne 0 ]; then
|
if [ $RET -ne 0 ]; then
|
||||||
echo "=> Package check failed: $RET)"
|
echo "=> Package check failed: $RET)"
|
||||||
|
@ -24,7 +23,7 @@ for PKG in $PKGS ; do
|
||||||
echo "=> Package HASH check failed"
|
echo "=> Package HASH check failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo_green "=> Package check OK"
|
echo "=> Package check OK"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mkdir ~/sdk
|
mkdir -p $CI_PROJECT_DIR/tmp
|
||||||
cd ~/sdk
|
cd $CI_PROJECT_DIR/tmp
|
||||||
|
|
||||||
curl "https://$SDK_HOST/$SDK_PATH/sha256sums" -sS -o sha256sums
|
curl "https://$SDK_HOST/$SDK_PATH/sha256sums" -sS -o sha256sums
|
||||||
curl "https://$SDK_HOST/$SDK_PATH/sha256sums.asc" -sS -o sha256sums.asc
|
curl "https://$SDK_HOST/$SDK_PATH/sha256sums.asc" -sS -o sha256sums.asc
|
||||||
|
|
|
@ -1,18 +1,22 @@
|
||||||
|
mkdir -p $CI_PROJECT_DIR/build_dir
|
||||||
|
cd $CI_PROJECT_DIR/build_dir
|
||||||
|
|
||||||
mkdir ~/build_dir
|
tar Jxf $CI_PROJECT_DIR/tmp/$SDK_FILE --strip=1
|
||||||
cd ~/build_dir
|
|
||||||
|
|
||||||
tar Jxf ~/sdk/$SDK_FILE --strip=1
|
|
||||||
|
|
||||||
cat > feeds.conf <<EOF
|
cat > feeds.conf <<EOF
|
||||||
|
src-git base https://git.openwrt.org/openwrt/openwrt.git
|
||||||
src-git packages https://git.openwrt.org/feed/packages.git
|
src-git packages https://git.openwrt.org/feed/packages.git
|
||||||
src-git luci https://git.openwrt.org/project/luci.git
|
src-git luci https://git.openwrt.org/project/luci.git
|
||||||
src-git routing https://git.openwrt.org/feed/routing.git
|
src-git routing https://git.openwrt.org/feed/routing.git
|
||||||
src-git telephony https://git.openwrt.org/feed/telephony.git
|
src-git telephony https://git.openwrt.org/feed/telephony.git
|
||||||
|
src-git gluon https://github.com/freifunk-gluon/packages.git
|
||||||
|
|
||||||
src-link $CI_PROJECT_NAME /builds/$CI_PROJECT_PATH
|
src-link $CI_PROJECT_NAME $CI_PROJECT_DIR
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat feeds.conf
|
cat feeds.conf
|
||||||
./scripts/feeds update -a > /dev/null
|
./scripts/feeds update -a > /dev/null
|
||||||
./scripts/feeds install -a > /dev/null
|
./scripts/feeds install -a > /dev/null
|
||||||
|
|
||||||
|
make defconfig > /dev/null
|
||||||
|
sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config
|
|
@ -0,0 +1,56 @@
|
||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Object files
|
||||||
|
*.o
|
||||||
|
*.ko
|
||||||
|
*.obj
|
||||||
|
*.elf
|
||||||
|
|
||||||
|
# Linker output
|
||||||
|
*.ilk
|
||||||
|
*.map
|
||||||
|
*.exp
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
*.lib
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
|
||||||
|
# Shared objects (inc. Windows DLLs)
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
*.i*86
|
||||||
|
*.x86_64
|
||||||
|
*.hex
|
||||||
|
|
||||||
|
# Debug files
|
||||||
|
*.dSYM/
|
||||||
|
*.su
|
||||||
|
*.idb
|
||||||
|
*.pdb
|
||||||
|
|
||||||
|
# Kernel Module Compile Results
|
||||||
|
*.mod*
|
||||||
|
*.cmd
|
||||||
|
.tmp_versions/
|
||||||
|
modules.order
|
||||||
|
Module.symvers
|
||||||
|
Mkfile.old
|
||||||
|
dkms.conf
|
||||||
|
|
||||||
|
|
||||||
|
tmp/
|
||||||
|
build_dir/
|
|
@ -12,11 +12,11 @@ compile:
|
||||||
stage: compile
|
stage: compile
|
||||||
script:
|
script:
|
||||||
- echo "==== Download the SDK ===="
|
- echo "==== Download the SDK ===="
|
||||||
- sh /builds/$CI_PROJECT_PATH/.ci/download_sdk.sh
|
- sh .ci/download_sdk.sh
|
||||||
- echo "==== Prepare build_dir ===="
|
- echo "==== Prepare build_dir ===="
|
||||||
- sh /builds/$CI_PROJECT_PATH/.ci/prepare_build_dir.sh
|
- sh .ci/prepare_build_dir.sh
|
||||||
- echo "==== build packages ===="
|
- echo "==== build packages ===="
|
||||||
- sh /builds/$CI_PROJECT_PATH/.ci/build_pkgs.sh
|
- sh .ci/build_pkgs.sh
|
||||||
- ls /home/build/build_dir/bin/packages
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
- build_dir/bin/packages
|
|
@ -1,5 +1,7 @@
|
||||||
# Wifi control deamon packages feed
|
# Wifi control deamon packages feed
|
||||||
|
|
||||||
|
[](https://dev.sum7.eu/genofire/wifictld/pipelines)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
This is an OpenWrt package feed containing community
|
This is an OpenWrt package feed containing community
|
||||||
|
@ -26,3 +28,8 @@ run:
|
||||||
|
|
||||||
The wifictld packages should now appear in menuconfig.
|
The wifictld packages should now appear in menuconfig.
|
||||||
|
|
||||||
|
## Snapshots / Download
|
||||||
|
|
||||||
|
[wifictld_1.0-1_mips_24kc.ipk](https://dev.sum7.eu/genofire/wifictld/-/jobs/artifacts/master/raw/build_dir/bin/packages/mips_24kc/wifictld/wifictld_1.0-1_mips_24kc.ipk?inline=false&job=compile)
|
||||||
|
[wifictld-mini_1.0-1_mips_24kc.ipk](https://dev.sum7.eu/genofire/wifictld/-/jobs/artifacts/master/raw/build_dir/bin/packages/mips_24kc/wifictld/wifictld-mini_1.0-1_mips_24kc.ipk?inline=false&job=compile)
|
||||||
|
[respondd-module-wifictld_1-1_mips_24kc.ipk](https://dev.sum7.eu/genofire/wifictld/-/jobs/artifacts/master/raw/build_dir/bin/packages/mips_24kc/wifictld/respondd-module-wifictld_1-1_mips_24kc.ipk?inline=false&job=compile)
|
Loading…
Reference in New Issue