tools-uclibc/desktop: correct PAX_MARKINGS, add screen and bind-tools.
This commit is contained in:
parent
1cf3a8fe2a
commit
d0af5edf00
8 changed files with 21 additions and 3 deletions
1
tools-uclibc/desktop/portage/env/bind-tools.conf
vendored
Normal file
1
tools-uclibc/desktop/portage/env/bind-tools.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
LDFLAGS="-liconv"
|
|
@ -2,6 +2,7 @@ CFLAGS="-O2 -fstack-check -pipe"
|
|||
CXXFLAGS="${CFLAGS}"
|
||||
CHOST="x86_64-gentoo-linux-uclibc"
|
||||
MAKEOPTS="-j17"
|
||||
PAX_MARKINGS="XT"
|
||||
|
||||
USE_BASE="bindist mmx mmxext smp sse sse2 ssse3 static-libs -savedconfig"
|
||||
USE_GCC="graphite objc objc++ objc-gc gtk gtk3 X"
|
||||
|
|
|
@ -2,6 +2,7 @@ CFLAGS="-fstack-check -O2 -pipe"
|
|||
CXXFLAGS="${CFLAGS}"
|
||||
CHOST="x86_64-gentoo-linux-uclibc"
|
||||
MAKEOPTS="-j17"
|
||||
PAX_MARKINGS="XT"
|
||||
|
||||
USE_BASE="bindist mmx mmxext smp sse sse2 ssse3 static-libs -savedconfig"
|
||||
USE_GCC="graphite objc objc++ objc-gc gtk gtk3 qt4 X"
|
||||
|
|
|
@ -2,6 +2,7 @@ CFLAGS="-fstack-check -O2 -pipe"
|
|||
CXXFLAGS="${CFLAGS}"
|
||||
CHOST="x86_64-gentoo-linux-uclibc"
|
||||
MAKEOPTS="-j17"
|
||||
PAX_MARKINGS="XT"
|
||||
|
||||
USE_BASE="bindist mmx mmxext smp sse sse2 ssse3 static-libs -savedconfig"
|
||||
USE_GCC="graphite objc objc++ objc-gc gtk gtk3 qt4 X"
|
||||
|
|
|
@ -12,6 +12,7 @@ media-video/ffmpeg ffmpeg.conf
|
|||
media-video/libav libav.conf
|
||||
media-video/mplayer2 mplayer2.conf
|
||||
media-video/xanim xanim.conf
|
||||
net-dns/bind-tools bind-tools.conf
|
||||
net-mail/dovecot dovecot.conf
|
||||
net-print/cups-filters cups-filters.conf
|
||||
sys-apps/coreutils coreutils.conf
|
||||
|
|
|
@ -135,6 +135,11 @@ setup_usergroups() {
|
|||
setup_confs() {
|
||||
local IMAGE="http://dev.gentoo.org/~blueness/lilblue/gentoo1600x1200.jpg"
|
||||
|
||||
# Clean up /etc/portage.
|
||||
sed -i '/^GENTOO_MIRRORS/d' "${ROOTFS}"/etc/portage/make.conf
|
||||
sed -i 's/^MAKEOPTS/#MAKEOPTS/' "${ROOTFS}"/etc/portage/make.conf
|
||||
|
||||
# Change the display greeter to slim and configure.
|
||||
sed -i 's/^\(DISPLAYMANAGER="\)xdm/\1slim/' "${ROOTFS}"/etc/conf.d/xdm
|
||||
sed -i 's/^\(login.*\)/# \1/' "${ROOTFS}"/etc/slim.conf
|
||||
sed -i '/# login_cmd.*Xsession/ a\login_cmd exec /bin/bash -login ~/.xinitrc' "${ROOTFS}"/etc/slim.conf
|
||||
|
@ -144,11 +149,15 @@ setup_confs() {
|
|||
wget -O "${ROOTFS}"/usr/share/slim/themes/default/background.jpg "${IMAGE}"
|
||||
#wget -O "${ROOTFS}"/usr/share/pixmaps/backgrounds/gnome/background-default.jpg "${IMAGE}"
|
||||
|
||||
sed -i '/^GENTOO_MIRRORS/d' "${ROOTFS}"/etc/portage/make.conf
|
||||
sed -i 's/^MAKEOPTS/#MAKEOPTS/' "${ROOTFS}"/etc/portage/make.conf
|
||||
# Change the hostname to 'lilblue'.
|
||||
sed -i 's/localhost/lilblue/' "${ROOTFS}"/etc/conf.d/hostname
|
||||
|
||||
# In kernels 3.9 and above, we must disallow-other-stacks because of SO_REUSEPORT
|
||||
# In kernels 3.9 and above, we must disallow-other-stacks because of SO_REUSEPORT.
|
||||
sed -i 's/^#\(disallow-other-stacks=\)no/\1yes/g' "${ROOTFS}"/etc/avahi/avahi-daemon.conf
|
||||
|
||||
# Since we're using an ubuntu-based config, get rid of the evdev spam in dmesg.
|
||||
# https://bugs.launchpad.net/ubuntu/+source/module-init-tools/+bug/240553
|
||||
echo "blacklist evbug" >> "${ROOTFS}"/etc/modprobe.d/blacklist.conf
|
||||
}
|
||||
|
||||
cleanup_dirs() {
|
||||
|
|
|
@ -4,6 +4,7 @@ app-arch/file-roller
|
|||
app-editors/gedit
|
||||
app-editors/nano
|
||||
app-editors/vim
|
||||
app-misc/screen
|
||||
app-office/abiword
|
||||
app-portage/gentoolkit
|
||||
app-portage/layman
|
||||
|
@ -27,6 +28,7 @@ media-video/smplayer
|
|||
media-video/totem
|
||||
net-analyzer/tcpdump
|
||||
net-dns/avahi
|
||||
net-dns/bind-tools
|
||||
net-fs/samba
|
||||
net-ftp/lftp
|
||||
net-irc/hexchat
|
||||
|
|
|
@ -4,6 +4,7 @@ app-arch/file-roller
|
|||
app-editors/gedit
|
||||
app-editors/nano
|
||||
app-editors/vim
|
||||
app-misc/screen
|
||||
app-office/abiword
|
||||
app-office/gnumeric
|
||||
app-portage/gentoolkit
|
||||
|
@ -28,6 +29,7 @@ media-video/smplayer
|
|||
media-video/totem
|
||||
net-analyzer/tcpdump
|
||||
net-dns/avahi
|
||||
net-dns/bind-tools
|
||||
net-fs/samba
|
||||
net-ftp/lftp
|
||||
net-irc/hexchat
|
||||
|
|
Loading…
Add table
Reference in a new issue