Lines 49-55
Link Here
|
49 |
|
49 |
|
50 |
pkg_setup() { |
50 |
pkg_setup() { |
51 |
linux-mod_pkg_setup |
51 |
linux-mod_pkg_setup |
52 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
52 |
BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}" |
53 |
enewgroup vboxguest |
53 |
enewgroup vboxguest |
54 |
enewuser vboxguest -1 /bin/sh /dev/null vboxguest |
54 |
enewuser vboxguest -1 /bin/sh /dev/null vboxguest |
55 |
} |
55 |
} |
Lines 83-88
Link Here
|
83 |
"${WORKDIR}/${mdir}/${vboxheader}" |
83 |
"${WORKDIR}/${mdir}/${vboxheader}" |
84 |
done |
84 |
done |
85 |
done |
85 |
done |
|
|
86 |
|
87 |
# Fix split kernels includes |
88 |
sed -i 's@\<kernelpath\>\(.*/generated\>\)@VBOX_LINUX_SRC\1@' "${S}"/Config.kmk |
86 |
} |
89 |
} |
87 |
|
90 |
|
88 |
src_configure() { |
91 |
src_configure() { |
Lines 92-97
Link Here
|
92 |
--disable-sdl-ttf \ |
95 |
--disable-sdl-ttf \ |
93 |
--disable-pulse \ |
96 |
--disable-pulse \ |
94 |
--disable-alsa \ |
97 |
--disable-alsa \ |
|
|
98 |
--with-linux=${KV_OUT_DIR} \ |
95 |
--build-headless || die "configure failed" |
99 |
--build-headless || die "configure failed" |
96 |
} |
100 |
} |
97 |
|
101 |
|