Don't install memtest86 on EFI systems.
This commit is contained in:
parent
88874af304
commit
bf80b41069
1 changed files with 2 additions and 2 deletions
|
|
@ -5,13 +5,13 @@ umask 022
|
|||
# Create /opt directories.
|
||||
mkdir -p -m 755 {/opt,/opt/{bin,include,info,lib64,man,man/man{0..8},sbin,share}}
|
||||
|
||||
# Install the LetsEncrypt CA bundles, to stop wget moaning.
|
||||
# Install the CA bundles, to stop wget moaning.
|
||||
cp -R ca-certificates /usr/local/share
|
||||
update-ca-certificates
|
||||
|
||||
# Install memtest86 into /boot.
|
||||
# Only install if /boot exists, so we are container compatible.
|
||||
[ -e /boot ] && cp memtest86+ /boot
|
||||
[[ -e /boot ]] && [[ ! -e /boot/efi ]] && cp memtest86+ /boot
|
||||
|
||||
# Install root's new crontab.
|
||||
cat root.crontab >/var/spool/cron/crontabs/root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue