[SL-R6804] Image Builder를 사용한 이미지 생성

OpenWRT를 빌드 후 openwrt/bin/targets/ramips/rt305x 디렉토리에 가면
openwrt-imagebuilder-18.06.5-ramips-rt305x.Linux-x86_64.tar.xz가 있으며,
이 빌더를 사용해 패키지를 손쉽게 구성하여 이미지를 생성할 수 있다.

■ 다운로드:
http://downloads.openwrt.org/releases/18.06.5/targets/ramips/rt305x/openwrt-imagebuilder-18.06.5-ramips-rt305x.Linux-x86_64.tar.xz
■ 사용방법: https://openwrt.org/docs/guide-user/additional-software/imagebuilder https://openwrt.org/docs/guide-user/additional-software/saving_space make info : 이미지 생성이 가능한 타켓들을 보여준다. make clean : 초기화 make build : 이미지를 생성한다. ■ 예제: make clean make image PROFILE="rt-g32-b1" \ EXTRA_IMAGE_NAME="sl_r6804" \ PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-ddns pptpd kmod-mppe kmod-ipt-core kmod-ipt-geoip ppp" 생성된 이미지는 ./bin/targets/ramips/rt305x/openwrt-18.06.5-sl_r6804-ramips-rt305x-rt-g32-b1-squashfs-sysupgrade.bin 에 저장된다.
위로 스크롤