tools-uclibc/desktop: expand supported graphics cards

This commit is contained in:
Anthony G. Basile 2013-05-13 20:48:30 -04:00
parent 9c010de2a8
commit eae1e33da5
9 changed files with 20 additions and 10 deletions

View file

@ -20,10 +20,10 @@ cp -f lilo.conf desktop-amd64-uclibc-hardened/etc/lilo.conf
rm -f desktop-amd64-uclibc-hardened/etc/portage/make.conf.catalyst
cp -f portage/make.conf.1 desktop-amd64-uclibc-hardened/etc/portage/make.conf
for d in env package.accept_keywords package.mask package.use; do
[[ "$(ls portage/${d})" != "" ]] && cp -f portage/${d}/* desktop-amd64-uclibc-hardened/etc/portage/${d}/
for d in env package.accept_keywords package.mask package.use profile; do
[[ -a portage/"${d}" ]] && cp -af portage/${d} desktop-amd64-uclibc-hardened/etc/portage
done
cp portage/package.env desktop-amd64-uclibc-hardened/etc/portage/
cp -af portage/package.env desktop-amd64-uclibc-hardened/etc/portage
cp -f toolchain.sh desktop-amd64-uclibc-hardened/tmp/
chroot desktop-amd64-uclibc-hardened/ /tmp/toolchain.sh
@ -42,6 +42,7 @@ cp -f update.sh desktop-amd64-uclibc-hardened/tmp/
chroot desktop-amd64-uclibc-hardened/ /tmp/update.sh
rm -f desktop-amd64-uclibc-hardened/tmp/update.sh
mkdir -p desktop-amd64-uclibc-hardened/boot
genkernel \
--kernel-config=config \
@ -49,11 +50,15 @@ genkernel \
--symlink \
--no-mountboot \
--kerneldir=/usr/src/linux-lilblue \
--bootdir=/root/lilblue/desktop-amd64-uclibc-hardened/boot/ \
--module-prefix=/root/lilblue/desktop-amd64-uclibc-hardened/ \
--modprobedir=/root/lilblue/desktop-amd64-uclibc-hardened/etc/modprobe.d \
--bootdir=/root/releng/tools-uclibc/desktop/desktop-amd64-uclibc-hardened/boot/ \
--module-prefix=/root/releng/tools-uclibc/desktop/desktop-amd64-uclibc-hardened/ \
--modprobedir=/root/releng/tools-uclibc/desktop/desktop-amd64-uclibc-hardened/etc/modprobe.d \
all
for i in $(find /root/releng/tools-uclibc/desktop/desktop-amd64-uclibc-hardened/lib/modules -iname *ko); do
objcopy --strip-unneeded $i
done
ln -sf net.lo desktop-amd64-uclibc-hardened/etc/init.d/net.eth0
chroot desktop-amd64-uclibc-hardened/ rc-update add alsasound default
chroot desktop-amd64-uclibc-hardened/ rc-update add cupsd default
@ -73,6 +78,8 @@ rm -f desktop-amd64-uclibc-hardened/tmp/passwd.sh
rm -rf desktop-amd64-uclibc-hardened/home/gentoo
cp -a gentoo desktop-amd64-uclibc-hardened/home/
chroot desktop-amd64-uclibc-hardened/ chown -R gentoo:gentoo /home/gentoo
sed -i 's/# \(%wheel.*NOPASSWD\)/\1/' desktop-amd64-uclibc-hardened/etc/sudoers
sed -i 's/^\(DISPLAYMANAGER="\)xdm/\1slim/' desktop-amd64-uclibc-hardened/etc/conf.d/xdm
sed -i 's/^\(login.*\)/# \1/' desktop-amd64-uclibc-hardened/etc/slim.conf

0
tools-uclibc/desktop/passwd.sh Normal file → Executable file
View file

View file

@ -34,7 +34,8 @@ USE_MISC="bash-completion extras lpsol natspec unlock-notify utils uuid vim-synt
USE="${USE_BASE} ${USE_GCC} ${USE_ENC} ${USE_ACL} ${USE_DBS} ${USE_CMP} ${USE_LANG} ${USE_UDEV} ${USE_VCS} ${USE_CHAR} ${USE_SERVERS} ${USE_PAX} ${USE_AUDIO} ${USE_IMG} ${USE_GRAPH} ${USE_DISPLAY} ${USE_MULTI} ${USE_MPLAYER} ${USE_BROWSE} ${USE_WORD} ${USE_GAMES} ${USE_XFCE4} ${USE_MISC}"
XFCE_PLUGINS="trash menu logout"
VIDEO_CARDS="fbdev nouveau radeon"
INPUT_DEVICES="acecad aiptek elographics evdev fpit hyperpen joystick keyboard mouse mutouch penmount tslib void"
VIDEO_CARDS="apm ark ast chips cirrus epson fbdev glint i128 i740 intel mach64 mga modesetting nouveau nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa"
LINGUAS="en"
PORTDIR_OVERLAY="/var/lib/layman/hardened-development"

View file

@ -34,7 +34,8 @@ USE_MISC="bash-completion extras lpsol natspec unlock-notify utils uuid vim-synt
USE="${USE_BASE} ${USE_GCC} ${USE_ENC} ${USE_ACL} ${USE_DBS} ${USE_CMP} ${USE_LANG} ${USE_UDEV} ${USE_VCS} ${USE_CHAR} ${USE_SERVERS} ${USE_PAX} ${USE_AUDIO} ${USE_IMG} ${USE_GRAPH} ${USE_DISPLAY} ${USE_MULTI} ${USE_MPLAYER} ${USE_BROWSE} ${USE_WORD} ${USE_GAMES} ${USE_XFCE4} ${USE_MISC}"
XFCE_PLUGINS="trash menu logout"
VIDEO_CARDS="fbdev nouveau radeon"
INPUT_DEVICES="acecad aiptek elographics evdev fpit hyperpen joystick keyboard mouse mutouch penmount tslib void"
VIDEO_CARDS="apm ark ast chips cirrus epson fbdev glint i128 i740 intel mach64 mga modesetting nouveau nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa"
LINGUAS="en"
PORTDIR_OVERLAY="/var/lib/layman/hardened-development"

View file

@ -1 +0,0 @@
>dev-db/sqlite-3.7.14.1

View file

@ -0,0 +1 @@
app-office/gnumeric introspection

View file

@ -0,0 +1 @@
x11-libs/goffice introspection

View file

@ -0,0 +1 @@
sys-fs/lvm2 thin

View file

@ -53,7 +53,6 @@ sys-devel/gcc
sys-devel/gdb
sys-fs/cryptsetup
sys-kernel/genkernel
sys-libs/cracklib
sys-libs/db
sys-libs/gdbm