2022-12-16 15:47:27 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-12-21 01:17:43 +00:00
|
|
|
# use imagebuilder
|
2022-12-16 15:47:27 +00:00
|
|
|
|
2023-01-02 06:15:57 +00:00
|
|
|
ls -lah /Downloads
|
|
|
|
|
2023-01-02 06:09:42 +00:00
|
|
|
tar -xJf /Downloads/openwrt-imagebuilder-${OPENWRT_VERSION}-*.tar.xz
|
2022-12-21 01:17:43 +00:00
|
|
|
cd openwrt-imagebuilder-*/
|
2022-12-16 15:57:02 +00:00
|
|
|
|
2022-12-21 01:17:43 +00:00
|
|
|
make info
|
2022-12-16 15:47:27 +00:00
|
|
|
|
2022-12-21 01:24:29 +00:00
|
|
|
make image \
|
|
|
|
PROFILE=rpi-4 \
|
2022-12-21 01:26:34 +00:00
|
|
|
PACKAGES="kmod-rtc-ds1307 \
|
2022-12-21 01:34:04 +00:00
|
|
|
asterisk \
|
2022-12-21 01:26:34 +00:00
|
|
|
asterisk-pjsip asterisk-bridge-simple \
|
|
|
|
asterisk-codec-alaw asterisk-codec-ulaw \
|
2022-12-21 06:18:10 +00:00
|
|
|
asterisk-res-rtp-asterisk kmod-nf-nathelper-extra"
|
2022-12-21 01:24:29 +00:00
|
|
|
|
2022-12-21 06:22:27 +00:00
|
|
|
mkdir -p ../../out
|
|
|
|
mv build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/tmp/*.gz ../../out
|