Page 1 of 1

How to strip Puppy 412 of the graphical system?

Posted: Thu 04 Oct 2012, 23:31
by bark_bark_bark
Hello I am working on a cli puplet and I would like help stripping the graphical system from Puppy 412 barebones. How do I do this?

Posted: Fri 05 Oct 2012, 12:54
by cthisbear

Posted: Fri 05 Oct 2012, 14:49
by darkcity
pUPnGo has done something like that, more examples-
http://puppylinux.org/wikka/Barebones

Posted: Fri 05 Oct 2012, 20:02
by goingnuts
Below has not been tested but should be a decent starting point. Do not run this script unless you know what you are doing:

Code: Select all

#!/bin/sh
echo "NOT TESTED - REMOVE BELOW exit - TO TEST..."
exit
cd /

#should remove most of basic X
rm -rf /usr/X11R7 /usr/X11 /usr/X11R6  

#remove executables which needs X
find . -type f | while read x; do
	if [ ! "$(ldd $x | grep 'not found')" = "" ]; then
		rm -f $x
	fi
done
The really quick way is to take any version of pupngo - which is basically a stripped P412 without X in its core...

Posted: Fri 05 Oct 2012, 20:07
by bark_bark_bark
@darkcity: I use pupngo (the original) my self once, but I liked the version that uses Puppy 412, not 216 (the 216 version was too old for my hardware).

@goingnuts: Thanks for the script.