Skip to content

Commit

Permalink
Update create-arch-bootstrap.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Oct 8, 2024
1 parent 45b0f2c commit b11ff31
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions create-arch-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b11ff31

Please sign in to comment.