How to strip Puppy 412 of the graphical system?
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA
How to strip Puppy 412 of the graphical system?
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?
....
pUPnGo has done something like that, more examples-
http://puppylinux.org/wikka/Barebones
http://puppylinux.org/wikka/Barebones
Below has not been tested but should be a decent starting point. Do not run this script unless you know what you are doing:
The really quick way is to take any version of pupngo - which is basically a stripped P412 without X in its core...
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
-
- Posts: 1885
- Joined: Tue 05 Jun 2012, 12:17
- Location: Wisconsin USA