diff options
Diffstat (limited to 'meta/recipes-extended/net-tools')
-rw-r--r-- | meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb index 63b2051bad..759de0a700 100644 --- a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb +++ b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb | |||
@@ -99,6 +99,10 @@ base_sbindir_progs = "arp ifconfig ipmaddr iptunnel mii-tool nameif plipconfig r | |||
99 | base_bindir_progs = "dnsdomainname domainname hostname netstat nisdomainname ypdomainname" | 99 | base_bindir_progs = "dnsdomainname domainname hostname netstat nisdomainname ypdomainname" |
100 | 100 | ||
101 | ALTERNATIVE_${PN} = "${base_sbindir_progs} ${base_bindir_progs}" | 101 | ALTERNATIVE_${PN} = "${base_sbindir_progs} ${base_bindir_progs}" |
102 | ALTERNATIVE_${PN}-doc += "hostname.1" | ||
103 | ALTERNATIVE_LINK_NAME[hostname.1] = "${mandir}/man1/hostname.1" | ||
104 | ALTERNATIVE_PRIORITY[hostname.1] = "10" | ||
105 | |||
102 | python __anonymous() { | 106 | python __anonymous() { |
103 | for prog in d.getVar('base_sbindir_progs', True).split(): | 107 | for prog in d.getVar('base_sbindir_progs', True).split(): |
104 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_sbindir', True), prog)) | 108 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_sbindir', True), prog)) |