Sync with openmamba target
This commit is contained in:
parent
ca0f92802a
commit
729aacc57c
@ -156,6 +156,9 @@ libpostproc.so.52[][64bit] = libpostproc-ffmpeg
|
|||||||
libpostproc.so.52[LIBPOSTPROC_52][64bit] = libpostproc-ffmpeg
|
libpostproc.so.52[LIBPOSTPROC_52][64bit] = libpostproc-ffmpeg
|
||||||
libswresample.so.0[][64bit] = libswresample-ffmpeg
|
libswresample.so.0[][64bit] = libswresample-ffmpeg
|
||||||
libswresample.so.0[LIBSWRESAMPLE_0][64bit] = libswresample-ffmpeg
|
libswresample.so.0[LIBSWRESAMPLE_0][64bit] = libswresample-ffmpeg
|
||||||
|
libpoppler-qt4.so.4[][64bit] = libpoppler-qt4
|
||||||
|
libpoppler-cpp.so.0[][64bit] = libpoppler
|
||||||
|
libpoppler-glib.so.8[][64bit] = libpoppler-glib
|
||||||
else
|
else
|
||||||
libGL.so.1 = libGL-Mesa-dri
|
libGL.so.1 = libGL-Mesa-dri
|
||||||
libGLU.so.1 = libGL-Mesa-dri
|
libGLU.so.1 = libGL-Mesa-dri
|
||||||
@ -193,6 +196,9 @@ libpostproc.so.52 = libpostproc-ffmpeg
|
|||||||
libpostproc.so.52[LIBPOSTPROC_52] = libpostproc-ffmpeg
|
libpostproc.so.52[LIBPOSTPROC_52] = libpostproc-ffmpeg
|
||||||
libswresample.so.0 = libswresample-ffmpeg
|
libswresample.so.0 = libswresample-ffmpeg
|
||||||
libswresample.so.0[LIBSWRESAMPLE_0] = libswresample-ffmpeg
|
libswresample.so.0[LIBSWRESAMPLE_0] = libswresample-ffmpeg
|
||||||
|
libpoppler-qt4.so.4 = libpoppler-qt4
|
||||||
|
libpoppler-cpp.so.0 = libpoppler
|
||||||
|
libpoppler-glib.so.8 = libpoppler-glib
|
||||||
endif
|
endif
|
||||||
/usr/bin/python = python
|
/usr/bin/python = python
|
||||||
python[abi] = python
|
python[abi] = python
|
||||||
|
@ -85,10 +85,7 @@ fi
|
|||||||
[[ "$TARGET_HOSTNAME" ]] || TARGET_HOSTNAME="$MAKEDIST_TARGET"
|
[[ "$TARGET_HOSTNAME" ]] || TARGET_HOSTNAME="$MAKEDIST_TARGET"
|
||||||
[[ "$TARGET_DOMAIN" ]] || TARGET_DOMAIN="localdomain"
|
[[ "$TARGET_DOMAIN" ]] || TARGET_DOMAIN="localdomain"
|
||||||
|
|
||||||
echo "$TARGET_HOSTNAME" > $MOUNTDIR/etc/hostname
|
echo "$TARGET_HOSTNAME.$TARGET_DOMAIN" > $MOUNTDIR/etc/hostname
|
||||||
sed -i "s|HOSTNAME=.*|HOSTNAME=$TARGET_HOSTNAME|" $MOUNTDIR/etc/sysconfig/network
|
|
||||||
sed -i "s|\(127\.0\.0\.1\W*\)\(.*\)|\1 $TARGET_HOSTNAME.$TARGET_DOMAIN $TARGET_HOSTNAME \2|" \
|
|
||||||
$MOUNTDIR/etc/hosts
|
|
||||||
|
|
||||||
#install_rpms_by_target "Installing tools packages for ${MAKEDIST_TARGET} target" ${MAKEDIST_TARGET}-tools ""
|
#install_rpms_by_target "Installing tools packages for ${MAKEDIST_TARGET} target" ${MAKEDIST_TARGET}-tools ""
|
||||||
install_rpms_by_target "Installing ${PLATFORM} platform packages" ${MAKEDIST_TARGET}-${PLATFORM} "${RPMEXTRAARGS}"
|
install_rpms_by_target "Installing ${PLATFORM} platform packages" ${MAKEDIST_TARGET}-${PLATFORM} "${RPMEXTRAARGS}"
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
$(MAKEDIST_TARGET)-livecd-gnome: \
|
$(MAKEDIST_TARGET)-livecd-gnome: \
|
||||||
openssh-server usbutils wireless_tools parted iputils file rootfiles \
|
openssh-server usbutils wireless_tools parted iputils file rootfiles \
|
||||||
ppp minicom chrony locales mc alsa-utils \
|
ppp minicom locales mc alsa-utils \
|
||||||
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
man-db curl zip unzip iptables iproute mtd-utils nfs-utils \
|
||||||
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
||||||
timezone sudo openobex liblame expect prelink NetworkManager \
|
timezone sudo openobex liblame expect prelink NetworkManager \
|
||||||
ModemManager network-manager-applet Mesa-tools \
|
ModemManager network-manager-applet Mesa-tools \
|
||||||
x11vnc xorg-server xorg-drv-video-fbdev xorg-drv-input-evdev xorg-drv-input-keyboard \
|
x11vnc xorg-server xorg-drv-video-fbdev xorg-drv-input-evdev xorg-drv-input-keyboard \
|
||||||
xorg-drv-input-mouse xorg-drv-input-void \
|
xorg-drv-input-mouse xorg-drv-input-void \
|
||||||
xorg-drv-input-tslib xcursor-transparent-theme rpm smart desktop-base-openmamba \
|
xorg-drv-input-tslib xcursor-transparent-theme rpm smart desktop-base-openmamba \
|
||||||
gdm gnome-session gnome-common gnome-control-center gnome-desktop gnome-desktop-sharp \
|
gdm gnome-session gnome-common gnome-control-center gnome-desktop \
|
||||||
gnome-keyring gnome-menus gnome-mime-data gnome-packagekit gnome-settings-daemon \
|
gnome-keyring gnome-menus gnome-mime-data gnome-packagekit gnome-settings-daemon \
|
||||||
gnome-sharp gnome-terminal nautilus gnome-themes evolution gnome-utils gnome-system-log \
|
gnome-terminal nautilus gnome-themes evolution gnome-utils gnome-system-log \
|
||||||
desktop-base-gnome gimp vlc gconf-editor rhythmbox
|
desktop-base-gnome gimp vlc gconf-editor rhythmbox brasero
|
||||||
|
|
||||||
#kitchensync4 kontact4 kmail4 akregator4 kdeplasma-addons amarok
|
#kitchensync4 kontact4 kmail4 akregator4 kdeplasma-addons amarok
|
||||||
$(MAKEDIST_TARGET)-livecd-libreoffice: libreoffice-calc libreoffice-writer libreoffice-impress
|
$(MAKEDIST_TARGET)-livecd-libreoffice: libreoffice-calc libreoffice-writer libreoffice-impress
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
## don't activate some services
|
|
||||||
#rm -f $MOUNTDIR/etc/rcsysinit.d/{S35hdparm,S30loadmodules,S40swap}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{S12random,S13sysinit,S20network,S44acpid,S55sshd}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{K00splash,K01acpid,K90random,K96swap,K97network,K97udev,K98localnet}
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i '/^[4-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure GDM for autologin
|
# configure GDM for autologin
|
||||||
#
|
#
|
||||||
cat > $MOUNTDIR/etc/gdm/custom.conf << _EOF
|
cat > $MOUNTDIR/etc/gdm/custom.conf << _EOF
|
||||||
@ -38,8 +23,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# clean rpm database before doing other operations with internal rpm
|
# clean rpm database before doing other operations with internal rpm
|
||||||
# to fix cross x86/x86_64 installation error:
|
# to fix cross x86/x86_64 installation error:
|
||||||
|
@ -2,9 +2,16 @@ PRODUCT_NAME=livecd-gnome
|
|||||||
MEDIA=squash_xz
|
MEDIA=squash_xz
|
||||||
MULTITHREAD=1
|
MULTITHREAD=1
|
||||||
|
|
||||||
KERNEL_EXTRAVER=mamba
|
if [ "$ARCH" = "i586" ]; then
|
||||||
KERNEL_PLATFORM=""
|
KERNEL_EXTRAVER=mamba
|
||||||
#KERNEL_ADDITIONAL="extramodules"
|
KERNEL_PLATFORM=""
|
||||||
|
#KERNEL_ADDITIONAL="extramodules"
|
||||||
|
KERNEL_MORE_EXTRAVER=mamba-64GB
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
KERNEL_EXTRAVER=mamba-x86_64
|
||||||
|
KERNEL_PLATFORM=""
|
||||||
|
#KERNEL_ADDITIONAL="extramodules"
|
||||||
|
fi
|
||||||
|
|
||||||
TARGET_HOSTNAME=openmamba-gnome
|
TARGET_HOSTNAME=openmamba-gnome
|
||||||
ROOTDEV=
|
ROOTDEV=
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
$(MAKEDIST_TARGET)-livecd-light: openssh-server usbutils wireless_tools parted iputils file rootfiles \
|
$(MAKEDIST_TARGET)-livecd-light: openssh-server usbutils wireless_tools parted iputils file rootfiles \
|
||||||
ppp minicom chrony locales mc alsa-utils \
|
ppp minicom locales mc alsa-utils \
|
||||||
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
||||||
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
||||||
lxde timezone sudo \
|
lxde timezone sudo \
|
||||||
@ -19,7 +19,7 @@ $(MAKEDIST_TARGET)-livecd-light-root: \
|
|||||||
ttf-freefont liberation-fonts-ttf \
|
ttf-freefont liberation-fonts-ttf \
|
||||||
gparted ntfs-3g libdvdcss \
|
gparted ntfs-3g libdvdcss \
|
||||||
chromium totem-mozilla-plugin \
|
chromium totem-mozilla-plugin \
|
||||||
macbook-tools livecd-tools \
|
livecd-tools \
|
||||||
Mesa-tools driconf parted testdisk \
|
Mesa-tools driconf parted testdisk \
|
||||||
samba-server \
|
samba-server \
|
||||||
smart-gui cpufreqd mambatray \
|
smart-gui cpufreqd mambatray \
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
## don't activate some services
|
|
||||||
#rm -f $MOUNTDIR/etc/rcsysinit.d/{S35hdparm,S30loadmodules,S40swap}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{S12random,S13sysinit,S20network,S44acpid,S55sshd}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{K00splash,K01acpid,K90random,K96swap,K97network,K97udev,K98localnet}
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i '/^[4-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure LXDM for autologin
|
# configure LXDM for autologin
|
||||||
#
|
#
|
||||||
sed -i "s|# autologin.*|autologin=liveuser|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
sed -i "s|# autologin.*|autologin=liveuser|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
||||||
@ -27,8 +12,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# clean rpm database before doing other operations with internal rpm
|
# clean rpm database before doing other operations with internal rpm
|
||||||
# to fix cross x86/x86_64 installation error:
|
# to fix cross x86/x86_64 installation error:
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
## don't activate some services
|
|
||||||
#rm -f $MOUNTDIR/etc/rcsysinit.d/{S35hdparm,S30loadmodules,S40swap}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{S12random,S13sysinit,S20network,S44acpid,S55sshd}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{K00splash,K01acpid,K90random,K96swap,K97network,K97udev,K98localnet}
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i '/^[4-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure KDM for autologin
|
# configure KDM for autologin
|
||||||
#
|
#
|
||||||
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
||||||
@ -34,8 +19,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# configure favorites in kde menu
|
# configure favorites in kde menu
|
||||||
for f in /usr/share/applications/chromium-devel.desktop; do
|
for f in /usr/share/applications/chromium-devel.desktop; do
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
## don't activate some services
|
|
||||||
#rm -f $MOUNTDIR/etc/rcsysinit.d/{S35hdparm,S30loadmodules,S40swap}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{S12random,S13sysinit,S20network,S44acpid,S55sshd}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{K00splash,K01acpid,K90random,K96swap,K97network,K97udev,K98localnet}
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i '/^[4-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure KDM for autologin
|
# configure KDM for autologin
|
||||||
#
|
#
|
||||||
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
||||||
@ -29,16 +14,17 @@ chroot $MOUNTDIR update-alternatives-set-dri
|
|||||||
|
|
||||||
# set timezone according to LANGUAGE (default is UTC)
|
# set timezone according to LANGUAGE (default is UTC)
|
||||||
#
|
#
|
||||||
case $LANGUAGE in
|
if [ ! "$MULTILANGUAGE" ]; then
|
||||||
|
case $LANGUAGE in
|
||||||
it) timezone=Europe/Rome ;;
|
it) timezone=Europe/Rome ;;
|
||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
fr) timezone=Europe/Paris ;;
|
fr) timezone=Europe/Paris ;;
|
||||||
de) timezone=Europe/Berlin ;;
|
de) timezone=Europe/Berlin ;;
|
||||||
en) timezone=Europe/London ;;
|
en) timezone=Europe/London ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
fi
|
||||||
|
|
||||||
# configure favorites in kde menu
|
# configure favorites in kde menu
|
||||||
for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applications/amarok.desktop; do
|
for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applications/amarok.desktop; do
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
## don't activate some services
|
|
||||||
#rm -f $MOUNTDIR/etc/rcsysinit.d/{S35hdparm,S30loadmodules,S40swap}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{S12random,S13sysinit,S20network,S44acpid,S55sshd}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{K00splash,K01acpid,K90random,K96swap,K97network,K97udev,K98localnet}
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i '/^[4-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure KDM for autologin
|
# configure KDM for autologin
|
||||||
#
|
#
|
||||||
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
||||||
@ -34,8 +19,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# configure favorites in kde menu
|
# configure favorites in kde menu
|
||||||
for f in /usr/share/applications/chromium-devel.desktop; do
|
for f in /usr/share/applications/chromium-devel.desktop; do
|
||||||
|
@ -4,15 +4,20 @@ $(MAKEDIST_TARGET)-$(PLATFORM)-arm: \
|
|||||||
kernel-rpi kernel-rpi-modules \
|
kernel-rpi kernel-rpi-modules \
|
||||||
kernel-cubox kernel-cubox-modules \
|
kernel-cubox kernel-cubox-modules \
|
||||||
kernel-mamba-arm kernel-mamba-arm-sound kernel-mamba-arm-wireless \
|
kernel-mamba-arm kernel-mamba-arm-sound kernel-mamba-arm-wireless \
|
||||||
|
kernel-mamba-arm-dove kernel-mamba-arm-dove-sound kernel-mamba-arm-dove-wireless \
|
||||||
|
kernel-sunxi kernel-sunxi-modules u-boot-sunxi-Bananapi \
|
||||||
brcm_patchram midori u-boot-tools
|
brcm_patchram midori u-boot-tools
|
||||||
|
|
||||||
$(MAKEDIST_TARGET)-$(PLATFORM)-i586: \
|
$(MAKEDIST_TARGET)-$(PLATFORM)-i586: \
|
||||||
kernel-mamba kernel-mamba-sound kernel-mamba-wireless chromium \
|
kernel-mamba kernel-mamba-sound kernel-mamba-wireless chromium \
|
||||||
kernel-mamba-64GB kernel-mamba-64GB-sound kernel-mamba-64GB-wireless
|
kernel-mamba-64GB kernel-mamba-64GB-sound kernel-mamba-64GB-wireless
|
||||||
|
|
||||||
|
$(MAKEDIST_TARGET)-$(PLATFORM)-x86_64: \
|
||||||
|
kernel-mamba-x86_64 kernel-mamba-x86_64-sound kernel-mamba-x86_64-wireless chromium
|
||||||
|
|
||||||
$(MAKEDIST_TARGET)-$(PLATFORM): $(MAKEDIST_TARGET)-devel \
|
$(MAKEDIST_TARGET)-$(PLATFORM): $(MAKEDIST_TARGET)-devel \
|
||||||
lxde openssh-server usbutils wireless_tools screen i2c-tools \
|
lxde openssh-server usbutils wireless_tools screen i2c-tools \
|
||||||
parted iputils file rootfiles ppp minicom chrony locales mc \
|
parted iputils file rootfiles ppp minicom locales mc \
|
||||||
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
||||||
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
||||||
timezone sudo kmod \
|
timezone sudo kmod \
|
||||||
|
@ -34,24 +34,6 @@
|
|||||||
#chkconfig --del portmap
|
#chkconfig --del portmap
|
||||||
#"
|
#"
|
||||||
|
|
||||||
## use system default language
|
|
||||||
#> $MOUNTDIR/etc/sysconfig/i18n
|
|
||||||
|
|
||||||
# set localtime (default to Europe/Berlin)
|
|
||||||
case $LANGUAGE in
|
|
||||||
it) timezone=Europe/Rome ;;
|
|
||||||
es) timezone=Europe/Madrid ;;
|
|
||||||
*) timezone=Europe/Berlin ;;
|
|
||||||
esac
|
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
|
||||||
cp /usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# disable automatic depmod and ldconfig execution on boot (also due to clock error)
|
|
||||||
cat >> $MOUNTDIR/etc/sysconfig/rc << _EOF
|
|
||||||
no_auto_depmod=1
|
|
||||||
no_auto_ldconfig=1
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
# configure touchscreen
|
# configure touchscreen
|
||||||
cat > $MOUNTDIR/etc/ts-calibrate.conf << _EOF
|
cat > $MOUNTDIR/etc/ts-calibrate.conf << _EOF
|
||||||
TSLIB_CONFFILE=/etc/ts.conf
|
TSLIB_CONFFILE=/etc/ts.conf
|
||||||
@ -62,22 +44,6 @@ TSLIB_CALIBFILE=/etc/pointercal
|
|||||||
HOME=/root
|
HOME=/root
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
# configure for serial console login
|
|
||||||
#echo "s0:2345:respawn:/sbin/agetty -L -f /etc/issue 115200 tcc-uart0 vt100" >> $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^4:.*,4:2345:respawn:/sbin/agetty ttyS0 115200,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^5:.*,5:2345:respawn:/sbin/agetty ttyGS0 115200,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^6:.*,6:2345:respawn:/sbin/agetty ttyAMA0 115200,' $MOUNTDIR/etc/inittab
|
|
||||||
#sed -i '/^[5-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure LXDM for autologin
|
# configure LXDM for autologin
|
||||||
#
|
#
|
||||||
sed -i "s|# autologin.*|autologin=liveuser|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
sed -i "s|# autologin.*|autologin=liveuser|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
||||||
@ -89,8 +55,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# remove some documentation to save space
|
# remove some documentation to save space
|
||||||
for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
|
for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
|
||||||
|
@ -6,6 +6,7 @@ $(MAKEDIST_TARGET)-$(PLATFORM)-kde4: \
|
|||||||
|
|
||||||
$(MAKEDIST_TARGET)-$(PLATFORM)-arm: \
|
$(MAKEDIST_TARGET)-$(PLATFORM)-arm: \
|
||||||
kernel-iconia kernel-iconia-modules kernel-hannspad kernel-hannspad-modules \
|
kernel-iconia kernel-iconia-modules kernel-hannspad kernel-hannspad-modules \
|
||||||
|
kernel-sgn kernel-sgn-modules \
|
||||||
kernel-mamba-arm kernel-mamba-arm-sound kernel-mamba-arm-wireless \
|
kernel-mamba-arm kernel-mamba-arm-sound kernel-mamba-arm-wireless \
|
||||||
kernel-mamba-arm-firmware brcm_patchram u-boot-tools
|
kernel-mamba-arm-firmware brcm_patchram u-boot-tools
|
||||||
|
|
||||||
@ -16,7 +17,7 @@ $(MAKEDIST_TARGET)-$(PLATFORM)-i586: \
|
|||||||
|
|
||||||
$(MAKEDIST_TARGET)-$(PLATFORM): $(MAKEDIST_TARGET)-devel \
|
$(MAKEDIST_TARGET)-$(PLATFORM): $(MAKEDIST_TARGET)-devel \
|
||||||
$(MAKEDIST_TARGET)-$(PLATFORM)-kde4 openssh-server usbutils wireless_tools i2c-tools \
|
$(MAKEDIST_TARGET)-$(PLATFORM)-kde4 openssh-server usbutils wireless_tools i2c-tools \
|
||||||
parted iputils file rootfiles ppp minicom chrony locales mc \
|
parted iputils file rootfiles ppp minicom locales mc \
|
||||||
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
man-db curl zip unzip iptables iproute wpa_supplicant mtd-utils nfs-utils \
|
||||||
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
openssh-clients binutils telnet ftp debianutils diffutils bluez traceroute \
|
||||||
timezone sudo kmod \
|
timezone sudo kmod \
|
||||||
@ -24,7 +25,7 @@ $(MAKEDIST_TARGET)-$(PLATFORM): $(MAKEDIST_TARGET)-devel \
|
|||||||
xorg-server x11vnc xkeyboard-config screen \
|
xorg-server x11vnc xkeyboard-config screen \
|
||||||
xorg-drv-input-tslib xcursor-transparent-theme rpm smart xdg-utils \
|
xorg-drv-input-tslib xcursor-transparent-theme rpm smart xdg-utils \
|
||||||
dhcp-server rfkill plymouth livecd-tools rdesktop mingetty \
|
dhcp-server rfkill plymouth livecd-tools rdesktop mingetty \
|
||||||
postplug-xorg postplug-sound gparted tar net-tools chrony mambatray kvkbd
|
postplug-xorg postplug-sound gparted tar net-tools mambatray kvkbd
|
||||||
|
|
||||||
# startactive
|
# startactive
|
||||||
# tightvnc-server lxde network-manager-applet matchbox-keyboard midori Mesa-tools alsa-utils
|
# tightvnc-server lxde network-manager-applet matchbox-keyboard midori Mesa-tools alsa-utils
|
||||||
|
@ -34,24 +34,6 @@
|
|||||||
#chkconfig --del portmap
|
#chkconfig --del portmap
|
||||||
#"
|
#"
|
||||||
|
|
||||||
## use system default language
|
|
||||||
#> $MOUNTDIR/etc/sysconfig/i18n
|
|
||||||
|
|
||||||
# set localtime (default to Europe/Berlin)
|
|
||||||
case $LANGUAGE in
|
|
||||||
it) timezone=Europe/Rome ;;
|
|
||||||
es) timezone=Europe/Madrid ;;
|
|
||||||
*) timezone=Europe/Berlin ;;
|
|
||||||
esac
|
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
|
||||||
cp /usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# disable automatic depmod and ldconfig execution on boot (also due to clock error)
|
|
||||||
cat >> $MOUNTDIR/etc/sysconfig/rc << _EOF
|
|
||||||
no_auto_depmod=1
|
|
||||||
no_auto_ldconfig=1
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
# configure touchscreen
|
# configure touchscreen
|
||||||
cat > $MOUNTDIR/etc/ts-calibrate.conf << _EOF
|
cat > $MOUNTDIR/etc/ts-calibrate.conf << _EOF
|
||||||
TSLIB_CONFFILE=/etc/ts.conf
|
TSLIB_CONFFILE=/etc/ts.conf
|
||||||
@ -62,19 +44,6 @@ TSLIB_CALIBFILE=/etc/pointercal
|
|||||||
HOME=/root
|
HOME=/root
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^4:.*,4:2345:respawn:/sbin/agetty ttyS0 115200,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^5:.*,5:2345:respawn:/sbin/agetty ttyGS0 115200,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^6:.*,6:2345:respawn:/sbin/agetty ttyAMA0 115200,' $MOUNTDIR/etc/inittab
|
|
||||||
#sed -i '/^[5-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure KDM for autologin
|
# configure KDM for autologin
|
||||||
#
|
#
|
||||||
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
||||||
@ -93,8 +62,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# configure favorites in kde menu
|
# configure favorites in kde menu
|
||||||
for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applications/kaffeine.desktop; do
|
for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applications/kaffeine.desktop; do
|
||||||
|
@ -1,18 +1,3 @@
|
|||||||
## don't activate some services
|
|
||||||
#rm -f $MOUNTDIR/etc/rcsysinit.d/{S35hdparm,S30loadmodules,S40swap}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{S12random,S13sysinit,S20network,S44acpid,S55sshd}
|
|
||||||
#rm -f $MOUNTDIR/etc/rc*.d/{K00splash,K01acpid,K90random,K96swap,K97network,K97udev,K98localnet}
|
|
||||||
|
|
||||||
# change inittab so it opens tty root shells instead of asking for login
|
|
||||||
#
|
|
||||||
echo "Forcing \`inittab' to open tty root shells with no login..."
|
|
||||||
sed -i 's,^1:.*,1:234:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i 's,^\([2-3]\):.*,\1:2345:respawn:/sbin/mingetty --autologin root --loginpause --noclear tty\1,' $MOUNTDIR/etc/inittab
|
|
||||||
sed -i '/^[4-6]:.*/d' $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure for runlevel 5 boot
|
|
||||||
sed -i "s|id:3\(:initdefault.*\)|id:5\1|" $MOUNTDIR/etc/inittab
|
|
||||||
|
|
||||||
# configure KDM for autologin
|
# configure KDM for autologin
|
||||||
#
|
#
|
||||||
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
||||||
@ -34,8 +19,7 @@ case $LANGUAGE in
|
|||||||
es) timezone=Europe/Madrid ;;
|
es) timezone=Europe/Madrid ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
# configure favorites in kde menu
|
# configure favorites in kde menu
|
||||||
for f in /usr/share/applications/chromium-devel.desktop; do
|
for f in /usr/share/applications/chromium-devel.desktop; do
|
||||||
|
@ -34,8 +34,7 @@ case $LANGUAGE in
|
|||||||
it) timezone=Europe/Rome ;;
|
it) timezone=Europe/Rome ;;
|
||||||
*) timezone=UTC ;;
|
*) timezone=UTC ;;
|
||||||
esac
|
esac
|
||||||
echo $timezone > $MOUNTDIR/etc/timezone
|
ln -s ../usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
|
||||||
|
|
||||||
prelink
|
prelink
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user