How to strip Puppy 412 of the graphical system?

Puppy related raves and general interest that doesn't fit anywhere else
Post Reply
Message
Author
bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

How to strip Puppy 412 of the graphical system?

#1 Post 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?
....

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#2 Post by cthisbear »


User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#3 Post by darkcity »

pUPnGo has done something like that, more examples-
http://puppylinux.org/wikka/Barebones

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#4 Post 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...

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#5 Post 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.
....

Post Reply