From b11ff318fc965473cc0f119f263ed4e6b42d7c11 Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Tue, 8 Oct 2024 04:18:08 +0200 Subject: [PATCH] Update create-arch-bootstrap.sh --- create-arch-bootstrap.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index 22d96a8..4804044 100644 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -401,13 +401,12 @@ mkdir -p shrunk tar xfC ./Extension_Pack.tar shrunk rm -r shrunk/{darwin*,solaris*,win*} tar -c --gzip --file shrunk.vbox-extpack -C shrunk . -install -Dm 644 shrunk.vbox-extpack \ - "${bootstrap}"/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-"${vboxver}".vbox-extpack -install -Dm 644 shrunk/ExtPack-license.txt \ - "${bootstrap}"/usr/share/licenses/virtualbox-ext-oracle/PUEL -mkdir -p "${bootstrap}"/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64 -install -Dm 644 shrunk/linux.amd64/* \ - "${bootstrap}"/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/ +mkdir -p "${bootstrap}"/usr/share/virtualbox/extensions +cp shrunk.vbox-extpack "${bootstrap}"/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-"${vboxver}".vbox-extpack +mkdir -p "${bootstrap}"/usr/share/licenses/virtualbox-ext-oracle/ +cp shrunk/ExtPack-license.txt "${bootstrap}"/usr/share/licenses/virtualbox-ext-oracle/PUEL +mkdir -p "${bootstrap}"/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack +rsync -av shrunk/* "${bootstrap}"/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ # Remove bloatwares run_in_chroot rm -Rf /usr/include /usr/share/man