123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #!/bin/sh
- #woof patches
- #run this in the root dir of the woof tree #old, now runs from 3builddistro
- #(C)01micko gpl3 (see /usr/share/doc/legal)
- #20110819
- #110822 BK modified, called from 3builddistro. runs with current-dir in 'sandbox3'.
- #110825 01micko: some fixes.
- #111015 01micko, remove icon and boot screen fixes, integrated in woof
- #121108 01micko, fix gconv-modules.cache
- #130801 removed fixes for dpi (gtkrc), remove old repos to help ppm
- #140619 cleanup for 14.1
- . ../DISTRO_SPECS
- echo
- echo "Fixing jwm"
- head -n6 rootfs-complete/root/.jwm/jwm_colors > /tmp/jwm_colors
- cp -af /tmp/jwm_colors rootfs-complete/root/.jwm/
- rm -f /tmp/jwm_colors
- # get rid of alsaconf, copied back in in 3builddistro
- cat > rootfs-complete/usr/sbin/alsaconf <<_EOF
- #!/bin/sh
- Xdialog --title "alsaconf" --msgbox "Alsaconf is removed pending a fix \
- \n\nPlease try the Multiple Sound Card Wizard then \
- \n configure retrovol (the volume icon, right click)" 0 0
- _EOF
- #make sure still execuatble
- chmod 755 rootfs-complete/usr/sbin/alsaconf
- echo "Disabling alsaconf"
- #121108 fix up gconv-modules.cache
- # ***NOTICE*** cross-build, this will have to be executed at first boot... #01micko 121108
- if [ "$WOOF_HOSTARCH" = "$WOOF_TARGETARCH" ];then
- [ ! -f rootfs-complete/usr/lib/gconv/gconv-modules.cache ] && chroot rootfs-complete /usr/sbin/iconvconfig
- fi
- echo "Generating /usr/lib/gconv/gconv-modules.cache"
- echo "Removing old slacko and wary5 repos"
- echo "fixing missing sylinks"
- (cd rootfs-complete/usr/bin; ln -sf ../../bin/sed . ; ln -sf ../../bin/grep . )
- echo "Removing udev from Packages-slackware-${DISTRO_COMPAT_VERSION}-official"
- sed -i '/^udev/d' rootfs-complete/root/.packages/Packages-slackware-${DISTRO_COMPAT_VERSION}-official
- echo
- echo "Slacko customisation complete"
- echo
- #exit 0
|