Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/script
| Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | for set in $DISTRIBUTIONS; do | ||||
| # inability to set ctime/mtime on the root of FAT partitions, | # inability to set ctime/mtime on the root of FAT partitions, | ||||
| # which is needed to support e.g. EFI system partitions. tar has | # which is needed to support e.g. EFI system partitions. tar has | ||||
| # no option to ignore this (distextract ignores them internally | # no option to ignore this (distextract ignores them internally | ||||
| # through a hack), and returns 1 on any warning or error, | # through a hack), and returns 1 on any warning or error, | ||||
| # effectively turning all warnings into fatal errors. | # effectively turning all warnings into fatal errors. | ||||
| # | # | ||||
| # Work around this in an extremely lame way for the specific | # Work around this in an extremely lame way for the specific | ||||
| # case of EFI system partitions only. This *ONLY WORKS* if | # case of EFI system partitions only. This *ONLY WORKS* if | ||||
| # /boot/efi is empty and does not handle analagous problems on | # /boot/efi is empty and does not handle analogous problems on | ||||
| # other systems (ARM, PPC64). | # other systems (ARM, PPC64). | ||||
| tar -xf "$BSDINSTALL_DISTDIR/$set" -C $BSDINSTALL_CHROOT --exclude boot/efi | tar -xf "$BSDINSTALL_DISTDIR/$set" -C $BSDINSTALL_CHROOT --exclude boot/efi | ||||
| mkdir -p $BSDINSTALL_CHROOT/boot/efi | mkdir -p $BSDINSTALL_CHROOT/boot/efi | ||||
| done | done | ||||
| fi | fi | ||||
| # Configure bootloader if needed | # Configure bootloader if needed | ||||
| bsdinstall bootconfig | bsdinstall bootconfig | ||||
| Show All 32 Lines | |||||