aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/tftp-hpa
AgeCommit message (Collapse)Author
2017-09-12tftp-hpa: Add HOMEPAGE info into recipe file.fan.xin
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-12tftp-hpa: Fix PIE build with clangKhem Raj
clang finds a name clash with libc and linker errors out like below tftpd.o: relocation R_ARM_REL32 against external or undefined symbol `__progname@@GLIBC_2.4' can not be used when making a PIE executable; recompile with -fPIC Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-12tftp-hpa: add systemd unit filesChen Qi
Add systemd unit files for tftp-hpa. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-03-07Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-14tftp-hpa: fix ALTERNATIVE_PRIORITY to avoid conflictChen Qi
Fix ALTERNATIVE_PRIORITY to avoid the same priority of the 'tftp' utility with that from busybox. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-09-05tftp-hpa: control ipv6 support based on DISTRO_FEATURESJackie Huang
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-06-05meta-networking: standardize SECTION valuesJoe MacDonald
SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21tftp-hpa: fix the empty file writing errorRoy.Li
make write_behind to return 0 if a empty file is written, to distinguish a true writing failure[on which the write_behind will return -1], then the annoying wrong log will disappear. ____ |Error code 3: Disk full or allocation exceeded ----- Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-10-21Revert "tftp-hpa: bug fix on empty file put error"Roy.Li
This reverts commit b2eb21a5fbcb065e84ed582e87de21bdc3082f00. It make 3d8520a0b411[tftp-hpa: add error check for disk filled up] unable to work Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-09-26tftp-hpa: bug fix on empty file put errorzhangxiao
With the feature that checking the disk filled up, the return value of function write_behind was checked and used to detect the disk status. While for empty file, without data being written, this function will return -1 thus the disk filled up error was miss-raised. Fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-29tftp-hpa: fix a build failureRoy Li
AR is defined as "ar cq" in MCONFIG.in, then "cq" is no longer needed in Makefile of common and libs subdir. #grep AR MCONFIG.in AR = ar cq # #grep AR common/Makefile $(AR) $(LIB) $(OBJS) # But MCONFIG maybe not able to be generated by MCONFIG.in, common/Makefile allows this condition [Note the - before include] #grep MCONFIG common/Makefile -include ../MCONFIG # then AR from building environment is used, but it not included the parameter "cq", and lead to below error, so add the "cq" to AR to fix this issue. i586-wrs-linux-ar libcommon.a tftpsubs. i586-wrs-linux-ar: two different operation options specified Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15tftp-hpa: bug fix on separated CR and LFZhang Xiao
In ascii mode, if the CR and LF was separated into different transfer blocks, This LF will be just dropped instead of replacing the previous CR. Add a checking on the first character to fix it. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15tftp-hpa: inherit autotools-brokensepRobert Yang
It needs autotools-brokensep, otherwise do_install error: make: *** No rule to make target `install'. Stop. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2013-11-01recipes: Remove PR = r0 from all recipesMartin Jansa
* Remove all PR = "r0" from all .bb files in meta-oe repo. This was done with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i * We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-29tftpd-hpa: update default tftpboot locationJoe MacDonald
The tftp-hpa package installs /var/lib/tftpboot and tftpd-hpa is configured to use that directory, but the default points at /svc/tftpboot. Correct that so the default points to a location that exists when the package is installed. Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-18tftpd-hpa: fix premature exitDavid Turgeon
standalone daemon exits as recipe installs file as tftpd-hpa * Changed script so it can consult /etc/default, as daemon name may be subject to change. * Changed the default name to match the recipe Signed-off-by: David Turgeon <david.turgeon@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05tftp-hpa: add error check for disk filled upRoy.Li
Add error check when the write-buffer is finally flushed to the file, the caller can detect if the disk filled up (or had an i/o error) and return a NOSAPCE nak to the other side. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-16meta-networking: Fix erroneous use of "startline" in LIC_FILES_CHKSUMPaul Eggleton
"beginline" is the correct parameter name. Checksums have been updated where necessary (i.e. if the beginning line was something other than the default of 1). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-27tftp-hpa: add from OE-Classic, update and tidy upPaul Eggleton
* Update to 5.2 * Add patches from Fedora * Add DESCRIPTION and better SUMMARY * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Update ALTERNATIVE_* definitions * Handle hardcoded paths in initscript Much of this was done by Joe MacDonald <joe.macdonald@windriver.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>