2010-10-26 19:22:16 +02:00
|
|
|
#!/bin/sh
|
|
|
|
cd /boot
|
|
|
|
ln -sf uImage-*.buffalo uImage.buffalo
|
2010-10-30 14:14:12 +02:00
|
|
|
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
|
|
|
|
|
2010-10-31 07:03:16 +01:00
|
|
|
# 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/*-*
|
|
|
|
|
2010-10-30 14:14:12 +02:00
|
|
|
# chamge password for root user
|
|
|
|
/usr/local/bin/changepassword root goLsProLive
|