aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-06-12meta-openwrt: WIP - Enabling Juci YOCTO #11451stanley/openwrt-juci-v3Stanley Cheong Kwan, Phoong
This is currently a work-in-progress. It's not building Juci yet. This commit helps updates Juci to the latest Juci, fix package, fix dependencies, repair npm shrinkwrap, replace yui-compressor, repair ip tables, etc... This commit contains some "hackish" codes which definitely requires some optimization and clean up. Uploaded for anyone interested to look into. Work is still on-going. YOCTO #11451 Signed-off-by: Stanley Cheong Kwan, Phoong <stanley.cheong.kwan.phoong@intel.com>
2017-04-03firewall3: Update to newer versionAaron Brice
firewall3 update needed to support iptables 1.6.0 Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-04-03iptables: Put libraries in /usr/lib/iptablesAaron Brice
OpenWRT firewall3 expects extension libraries to be in /usr/lib/iptables instead of /usr/lib/xtables. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-04-03iptables: Fix up shared-libext patchAaron Brice
Some extra "+"'s got added to some lines in the patch, causing some targets to be ignored. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-23Minor fixes to ipset and xtables-addons recipesAaron Brice
- ipset does not need to inherit openwrt - xtables-addons: INC_PR not needed Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16firewall3: Add config files from openwrt repoAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16Add ipset recipeAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16Add xtables-addons packageAaron Brice
With patches from openwrt. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16Add tcpdump to packagegroup-core-boot-openwrt.Aaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16jsonpath: Create jsonfilter linkAaron Brice
OpenWRT installs the jsonpath binary as jsonfilter. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16openwrt-base-image: Fix network config ipaddrAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16dnsmasq: Start with udevAaron Brice
dnsmasq init script doesn't start on boot, OpenWRT expects hotpug to start it when a network interface is added. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-03-16dnsmasq: Copy openwrt-related config filesAaron Brice
- Install dnsmasq procd init script - Install /etc/config/dhcp configuration Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17hostapd: netifd compatibility tweaksAaron Brice
- Add some scripts from openwrt used by netifd to generate hostapd config files - Add patch from openwrt to support new config file parameter used by netifd Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17openwrt-base-image: Remove wireless configAaron Brice
The wireless config is generated automatically at boot. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17udev: Added procd init script to start udevAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17Add wifi configuration to openwrt-base-imageAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17hostapd: Copy config files from openwrt repoAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17iwinfo: Install lua bindings and iwinfo binaryAaron Brice
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-17openwrt: Add OPENWRT_SRCREV to openwrt.bbclassAaron Brice
Since multiple recipes are going to be copying files out of openwrt repository, specify the revision to use for that repo once, in openwrt.bbclass, to avoid recipes copying files out of different revisions. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-07openwrt-base-image: use luci instead of luci2Theodore A. Roth
luci2 has not seen any development activity in nearly two years, so it appears to be dead. luci is still being actively developed. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07luci: Update luci build recipeAaron Brice
- Fix copy/paste problems in DESCRIPTION and HOMEPAGE. - Add CMakeLists.txt since luci Makefiles are unusable outside of openwrt repository. - Build modules/luci-base, modules/luci-mod-admin-full, libs/luci-lib-nixio, libs/luci-lib-ip, and themes/luci-theme-bootstrap - Add iwinfo to DEPENDS (fix build failure if iwinfo.h not found) Fixes issue #4 Signed-off-by: Aaron Brice <aaron.brice@datasoft.com> Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07packagegroup-core-boot-openwrt: add bridge-utilsTheodore A. Roth
Add bridge-utils to the package group RDEPENDS so that brctl will be available in the openwrt-base-image. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07openwrt-base-image: Replace lua with lua5.1Aaron Brice
lua brings in lua 5.3, OpenWRT components need lua 5.1 specifically. Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
2017-02-07busybox: do not install udhcpc default.scriptTheodore A. Roth
It's also installed by netifd (and we probably want to use the openwrt version instead of the busy box version). Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07netifd: pull files from openwrt repoTheodore A. Roth
Modify recipe to pull down the openwrt git repo and install the netifd files directly from there instead of committing them in the the meta-openwrt layer. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07base-files-openwrt: change SRC_URITheodore A. Roth
The development of openwrt has moved from git.openwrt.org to github.com. Update the the SRC_URI to reflect this and use the 'v15.05.1' tag instead of a git hash for the SRCREV. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07rpcd: pull in config and init scripts from openwrtTheodore A. Roth
Bring in the rpcd.config and rpcd.init files for upstream openwrt git repo. The recipe was installing empty files. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07rpcd: create symlinks for rpcdTheodore A. Roth
Create symlink for rpcd in /sbin. Create start symlink in /etc/rc.d to start rpcd at boot. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07uhttpd2: cleanup whitespace in recipeTheodore A. Roth
Remove trailing whitespace. Fix mixed space/tab indentation. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07uhttpd2: create start symlink in /etc/rc.dTheodore A. Roth
Create symlink in /etc/rc.d so that uhttpd is started at boot time. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07uci: pull in uci.sh from openwrtTheodore A. Roth
Bring in the package/system/uci/files/lib/config/uci.sh script from the openwrt repository which provides the uci compatibility wrappers used by many openwrt scripts. The recipe was installing an empty file. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07uci: create symlinks to uci binaryTheodore A. Roth
Create symlinks in /sbin and /usr/sbin to /usr/bin/uci so openwrt scripts and binaries with hard coded pathes to /sbin/uci and /usr/sbin/uci will work. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07ubox: create symlinks so logging is started at bootTheodore A. Roth
Create symlinks in /sbin for logd, logread and validate_data to the real binaries in /usr/sbin due to some openwrt programs and scripts having hard coded the paths to '/sbin/<prog>'. Create start and stop symlinks in /etc/rc.d for /etc/init.d/log so that logd is started at boot time. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-02-07procd: create udevtrigger symlinkTheodore A. Roth
Some openwrt scripts/programs have the path to udevtrigger hard coded to '/sbin/udevtrigger'. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23openwrt-image-base: Add recipeFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23libubox: update to latest upstream git versionTheodore A. Roth
The latest procd version needs some of the updates in libubox. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23procd: update to latest upstream git versionTheodore A. Roth
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23procd: create symlinks in /sbinTheodore A. Roth
procd and /etc/preinit have hardcoded pathes to binaries in /sbin. Create symlinks in /sbin to the binaries in /usr/sbin. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23procd: remove isdir from hotplug.jsonTheodore A. Roth
Remove 'isdir' check from hotplug.json since procd doesn't know how to handle it. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23procd: Install extra filesFabio Berton
Install all scripts necessary for run procd. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2017-01-23ubus: create symlink in /sbinTheodore A. Roth
Procd has harded path to /sbin/ubusd, but it is installed in /usr/sbin. Create a symlink in /sbin to make procd happy. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23busybox: disable config of utils supplied by uboxTheodore A. Roth
The ubox utility provides kmodloader which is aliased to insmod, rmmod, lsmod, modprobe and depmod via symlinks. Disable configuration of those tools in busybox. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23busybox: add lock utilityTheodore A. Roth
Add openwrt patch which adds the '/bin/lock' command to busybox. This is needed by procd. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23Fix bitbake warning (missing RDEPENDS)Harald Krapfenbauer
Signed-off-by: Harald Krapfenbauer <hkr@mission-embedded.com>
2017-01-23netifd: fix build errorTheodore A. Roth
Add a patch to fix a build error where IFF_LOWER_UP is not defined. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23make-ext4fs: Fix QA errorTheodore A. Roth
Fix the following: ERROR: make-ext4fs-git-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'build/tmp/work/i586-poky-linux/make-ext4fs/git-r0/packages-split/make-ext4fs/usr/bin/make_ext4fs' [ldflags] Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23lua-socket: fix QA errorTheodore A. Roth
Fix the following: ERROR: lua-socket-git-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'build/tmp/work/i586-poky-linux/lua-socket/git-r0/packages-split/lua-socket/usr/lib/lua/5.1/mime/core.so' No GNU_HASH in the elf binary: 'build/tmp/work/i586-poky-linux/lua-socket/git-r0/packages-split/lua-socket/usr/lib/lua/5.1/socket/core.so' [ldflags] Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23luci2: fix compiler warningTheodore A. Roth
Building luci2 fails due to a compiler warning. Add patch to quell the warning. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
2017-01-23ubox: create symlinksTheodore A. Roth
Create symlinks to various files needed by the system. * Procd hard codes the path to kmodloader to /sbin/kmodloader, but this recipe installs it in /usr/sbin. * Clean up the libvalidate so file (symlinks and remove subpackage). Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>