init
This commit is contained in:
commit
31c4412666
BIN
All/All/Hashed/dbus-1.16.2_4,1~16a0a3988d.pkg
Normal file
BIN
All/All/Hashed/dbus-1.16.2_4,1~16a0a3988d.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/expat-2.7.5~bd8c0cb568.pkg
Normal file
BIN
All/All/Hashed/expat-2.7.5~bd8c0cb568.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/indexinfo-0.3.1_1~95cd7d3046.pkg
Normal file
BIN
All/All/Hashed/indexinfo-0.3.1_1~95cd7d3046.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libICE-1.1.2,1~a498c91301.pkg
Normal file
BIN
All/All/Hashed/libICE-1.1.2,1~a498c91301.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libSM-1.2.6,1~efc7f78e07.pkg
Normal file
BIN
All/All/Hashed/libSM-1.2.6,1~efc7f78e07.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libX11-1.8.13,1~ea60483464.pkg
Normal file
BIN
All/All/Hashed/libX11-1.8.13,1~ea60483464.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXau-1.0.12~c870791dd9.pkg
Normal file
BIN
All/All/Hashed/libXau-1.0.12~c870791dd9.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXcursor-1.2.3~535519556a.pkg
Normal file
BIN
All/All/Hashed/libXcursor-1.2.3~535519556a.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXdmcp-1.1.5~2c74a0e88d.pkg
Normal file
BIN
All/All/Hashed/libXdmcp-1.1.5~2c74a0e88d.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXext-1.3.6,1~51ee6f9b80.pkg
Normal file
BIN
All/All/Hashed/libXext-1.3.6,1~51ee6f9b80.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXfixes-6.0.1~51105fb7d9.pkg
Normal file
BIN
All/All/Hashed/libXfixes-6.0.1~51105fb7d9.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXmu-1.1.4,1~a6c7f10cb9.pkg
Normal file
BIN
All/All/Hashed/libXmu-1.1.4,1~a6c7f10cb9.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXrandr-1.5.4~ac360e8c83.pkg
Normal file
BIN
All/All/Hashed/libXrandr-1.5.4~ac360e8c83.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXrender-0.9.12~75b21d379b.pkg
Normal file
BIN
All/All/Hashed/libXrender-0.9.12~75b21d379b.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libXt-1.3.0,1~2b3881b32b.pkg
Normal file
BIN
All/All/Hashed/libXt-1.3.0,1~2b3881b32b.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libxcb-1.17.0~827c18a7ca.pkg
Normal file
BIN
All/All/Hashed/libxcb-1.17.0~827c18a7ca.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/libxml2-2.15.2~56a07217bf.pkg
Normal file
BIN
All/All/Hashed/libxml2-2.15.2~56a07217bf.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/readline-8.3.3~f9c140bde8.pkg
Normal file
BIN
All/All/Hashed/readline-8.3.3~f9c140bde8.pkg
Normal file
Binary file not shown.
Binary file not shown.
BIN
All/All/Hashed/xorgproto-2024.1~af61314fba.pkg
Normal file
BIN
All/All/Hashed/xorgproto-2024.1~af61314fba.pkg
Normal file
Binary file not shown.
BIN
All/All/Hashed/xrandr-1.5.3~3c02ad5a17.pkg
Normal file
BIN
All/All/Hashed/xrandr-1.5.3~3c02ad5a17.pkg
Normal file
Binary file not shown.
39
build
Executable file
39
build
Executable file
@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
|
||||
REPO_CONF_NAME="pkg.conf"
|
||||
|
||||
cat > pkg.conf << EOF
|
||||
vbox_ose: {
|
||||
url: "file://${PWD}",
|
||||
enabled: yes,
|
||||
priority: 100
|
||||
}
|
||||
EOF
|
||||
|
||||
pkg -o REPOS_DIR="$PWD" -o repositories_conf="$REPO_CONF_NAME" install -y virtualbox-ose-additions
|
||||
|
||||
RC_CONF="/etc/rc.conf"
|
||||
LOADER_CONF="/boot/loader.conf"
|
||||
|
||||
echo "[*] Configuring VirtualBox guest modules..."
|
||||
|
||||
# rc.conf
|
||||
grep -q '^vboxguest_enable=' "$RC_CONF" || echo 'vboxguest_enable="YES"' >> "$RC_CONF"
|
||||
grep -q '^vboxservice_enable=' "$RC_CONF" || echo 'vboxservice_enable="YES"' >> "$RC_CONF"
|
||||
|
||||
echo "[+] rc.conf updated"
|
||||
|
||||
# loader.conf
|
||||
grep -q '^vboxguest_load=' "$LOADER_CONF" || echo 'vboxguest_load="YES"' >> "$LOADER_CONF"
|
||||
grep -q '^vboxservice_load=' "$LOADER_CONF" || echo 'vboxservice_load="YES"' >> "$LOADER_CONF"
|
||||
grep -q '^vboxvideo_load=' "$LOADER_CONF" || echo 'vboxvideo_load="YES"' >> "$LOADER_CONF"
|
||||
|
||||
echo "[+] loader.conf updated"
|
||||
|
||||
# load now
|
||||
kldload vboxguest 2>/dev/null
|
||||
kldload vboxservice 2>/dev/null
|
||||
kldload vboxvideo 2>/dev/null
|
||||
|
||||
echo "[+] Modules loaded (if available)"
|
||||
echo "[✓] Done"
|
||||
7
meta
Normal file
7
meta
Normal file
@ -0,0 +1,7 @@
|
||||
version = 2;
|
||||
packing_format = "tzst";
|
||||
manifests = "packagesite.yaml";
|
||||
data = "data";
|
||||
filesite = "filesite.yaml";
|
||||
manifests_archive = "packagesite";
|
||||
filesite_archive = "filesite";
|
||||
7
meta.conf
Normal file
7
meta.conf
Normal file
@ -0,0 +1,7 @@
|
||||
version = 2;
|
||||
packing_format = "tzst";
|
||||
manifests = "packagesite.yaml";
|
||||
data = "data";
|
||||
filesite = "filesite.yaml";
|
||||
manifests_archive = "packagesite";
|
||||
filesite_archive = "filesite";
|
||||
BIN
packagesite.pkg
Normal file
BIN
packagesite.pkg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user