Remove creation of SOUNDCARD_DB obsoleted since postplug 1.2.11
This commit is contained in:
parent
133a38e417
commit
64eb9bf559
@ -93,11 +93,4 @@ if [ -e $MOUNTDIR/opt/kde/share/config/kdm/kdmrc ]; then
|
||||
sed -i 's|[#]AutoLoginUser=.*|AutoLoginUser=liveuser|' \
|
||||
$MOUNTDIR/opt/kde/share/config/kdm/kdmrc
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
prelink
|
||||
|
@ -45,13 +45,6 @@ esac
|
||||
echo $timezone > $MOUNTDIR/etc/timezone
|
||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
# remove unused initramfs generated by kernel
|
||||
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
|
||||
|
||||
|
@ -34,13 +34,6 @@ esac
|
||||
echo $timezone > $MOUNTDIR/etc/timezone
|
||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
# remove unused initramfs generated by kernel
|
||||
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
|
||||
|
||||
|
@ -46,13 +46,6 @@ for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applicati
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
||||
done
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
# remove unused initramfs generated by kernel
|
||||
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
|
||||
|
||||
|
@ -47,15 +47,8 @@ for f in /usr/share/applications/chromium-devel.desktop \
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
||||
done
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${K} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
# remove unused initramfs generated by kernel
|
||||
for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do
|
||||
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${K}.img*
|
||||
done
|
||||
|
||||
|
@ -46,13 +46,6 @@ for f in /usr/share/applications/chromium-devel.desktop; do
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
||||
done
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
# remove unused initramfs generated by kernel
|
||||
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
|
||||
|
||||
|
@ -45,11 +45,4 @@ esac
|
||||
echo $timezone > $MOUNTDIR/etc/timezone
|
||||
cp $MOUNTDIR/usr/share/zoneinfo/$timezone $MOUNTDIR/etc/localtime
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
prelink
|
||||
|
@ -46,13 +46,6 @@ for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applicati
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
||||
done
|
||||
|
||||
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
|
||||
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
|
||||
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh
|
||||
chroot $MOUNTDIR sh /tmp/sounddb.sh
|
||||
rm -f $MOUNTDIR/tmp/sounddb.sh
|
||||
[ -L $MOUNTDIR/lib/modules/`uname -r` ] && rm $MOUNTDIR/lib/modules/`uname -r`
|
||||
|
||||
# remove unused initramfs generated by kernel
|
||||
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user