overlay/Documentation/ls_pro_live/fsscript
geos_one 5c09cfb2f1 add neon
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2631 6952d904-891a-0410-993b-d76249ca496b
2010-10-31 06:03:16 +00:00

30 lines
825 B
Bash
Executable File

#!/bin/sh
cd /boot
ln -sf uImage-*.buffalo uImage.buffalo
ln -sf initrd-*.buffalo initrd.buffalo
# no search for .svn dir
# as a subversiontree is used for /etc/portage & /var/lib/layman/go-genlink
# so remove by hand
rm -rf /.svn
rm -rf /etc/.svn
rm -rf /etc/conf.d/.svn
rm -rf /etc/layman/.svn
rm -rf /etc/profile.d/.svn
rm -rf /var/.svn
rm -rf /var/lib/.svn
rm -rf /var/lib/layman/.svn
rm -rf /usr/.svn
rm -rf /usr/local/.svn
rm -rf /usr/local/bin/.svn
# qemu-arm don't work woth the newer coreutils
rm -f /etc/portage/package.mask/coreutils
emerge --sync
# shrink the image by removing most of the /usr/portage dir
# the only dirs that survive are licenses (not requred), profile (required), virtual (not required)
rm -rf /usr/portage/*-*
# chamge password for root user
/usr/local/bin/changepassword root goLsProLive