2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2007-02-22 23:46:50 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2007-02-22 23:46:50 +01:00
|
|
|
{
|
2017-11-27 09:46:16 +01:00
|
|
|
apps="dnsdomainname netstat arp ipmaddr iptunnel mii-tool nameif plipconfig rarp \
|
2022-01-31 11:16:04 +01:00
|
|
|
slattach traceroute arping clockdiff rarpd rdisc tracepath \
|
2022-02-05 16:07:30 +01:00
|
|
|
dig host nslookup telnet ssh arpd genl ifstat ctstat rtstat lnstat nstat rtacct rtmon ss \
|
|
|
|
tc dhclient ifplugd ifplugstatus bridge dcb devlink rdma tipc vdpa \
|
|
|
|
ping ethtool elinks dhcp_lease_time dhcp_release dhcp_release6 \
|
2022-02-05 12:09:39 +01:00
|
|
|
routel brctl dhclient-script"
|
2012-05-27 12:04:03 +02:00
|
|
|
for i in $apps; do
|
|
|
|
add_binary "$i"
|
|
|
|
done
|
2022-01-31 11:16:04 +01:00
|
|
|
# add iproute 2
|
2012-08-25 08:43:15 +02:00
|
|
|
add_full_dir "/usr/lib/tc"
|
|
|
|
add_full_dir "/usr/share/tc"
|
|
|
|
add_full_dir "/etc/iproute2"
|
2016-08-26 22:04:54 +02:00
|
|
|
# add openssl helper libraries
|
|
|
|
add_full_dir "/usr/lib/engines"
|
2012-04-22 20:38:54 +02:00
|
|
|
# add dnssec-anchors
|
|
|
|
add_file "/etc/trusted-key.key"
|
2009-04-25 19:52:07 +02:00
|
|
|
# add dhclient support
|
|
|
|
add_dir "/var/lib/dhclient"
|
|
|
|
add_dir "/var/state/dhcp"
|
2009-11-23 22:50:18 +01:00
|
|
|
# add ifplugd support
|
2012-08-25 08:43:15 +02:00
|
|
|
add_full_dir "/etc/ifplugd"
|
2009-05-08 08:05:45 +02:00
|
|
|
# fixing licenses
|
|
|
|
add_file "/usr/share/licenses/db/LICENSE"
|
|
|
|
add_file "/usr/share/licenses/dhclient/LICENSE"
|
2020-08-15 10:49:30 +02:00
|
|
|
add_file "/usr/share/licenses/bind/LICENSE"
|
2011-05-09 15:03:19 +02:00
|
|
|
add_file "/usr/share/licenses/krb5/LICENSE"
|
2009-05-08 08:49:58 +02:00
|
|
|
add_file "/usr/share/licenses/openssh/LICENCE"
|
2009-05-08 08:05:45 +02:00
|
|
|
add_file "/usr/share/licenses/openssl/LICENSE"
|
2012-04-18 10:32:09 +02:00
|
|
|
add_file "/usr/share/licenses/sqlite/license.txt"
|
2012-04-22 20:38:54 +02:00
|
|
|
add_file "/usr/share/licenses/dnssec-anchors/LICENSE"
|
2007-02-22 23:46:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
2021-10-04 11:13:50 +02:00
|
|
|
This hook includes the network on an archboot image.
|
2007-02-22 23:46:50 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|