File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ VAI_welcome() {
2222}
2323
2424VAI_get_address () {
25- # Enable the hook for resolv.conf
26- mkdir -p /usr/lib/dhcpcd/dhcpcd-hooks
27- ln -sf /usr/libexec/dhcpcd-hooks/20-resolv.conf /usr/lib/dhcpcd/dhcpcd-hooks/
25+ mkdir -p /var/lib/dhclient
2826
29- # Get an IP address
30- dhcpcd -w -L --timeout 0
27+ # This will fork, but it means that over a slow link the DHCP
28+ # lease will still be maintained. It also doesn't have a
29+ # hard-coded privsep user in it like dhcpcd.
30+ dhclient
3131}
3232
3333VAI_partition_disk () {
Original file line number Diff line number Diff line change @@ -17,23 +17,22 @@ install() {
1717 inst /usr/bin/clear
1818 inst /usr/bin/cp
1919 inst /usr/bin/chpasswd
20- inst /usr/bin/dhcpcd
20+ inst /usr/bin/dhclient
21+ inst /usr/bin/dhclient-script
2122 inst /usr/bin/halt
2223 inst /usr/bin/install
2324 inst /usr/bin/lsblk
2425 inst /usr/bin/mkdir
2526 inst /usr/bin/mkfs.ext4
2627 inst /usr/bin/mkswap
2728 inst /usr/bin/mount
29+ inst /usr/bin/resolvconf
2830 inst /usr/bin/sfdisk
2931 inst /usr/bin/sync
3032 inst /usr/bin/xbps-install
3133 inst /usr/bin/xbps-uhelper
3234 inst /usr/bin/xbps-query
3335
34- inst /usr/libexec/dhcpcd-hooks/20-resolv.conf
35- inst /usr/libexec/dhcpcd-run-hooks
36-
3736 inst_multiple /var/db/xbps/keys/*
3837 inst_multiple /usr/share/xbps.d/*
3938
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ trap 'error_out $? $LINENO' INT TERM 0
3030umask 022
3131
3232readonly REQUIRED_PKGS=" base-files libgcc dash coreutils sed tar gawk syslinux grub-i386-efi grub-x86_64-efi squashfs-tools xorriso"
33- readonly INITRAMFS_PKGS=" binutils xz device-mapper dhclient dracut-network"
33+ readonly INITRAMFS_PKGS=" binutils xz device-mapper dhclient dracut-network openresolv "
3434readonly PROGNAME=$( basename " $0 " )
3535
3636info_msg () {
You can’t perform that action at this time.
0 commit comments