(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
and continue your work there. Thank you.

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Sep 2020, 13:35
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Sloooow developent of CoolPup...
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message

Joined: 03 Mar 2007
Posts: 63

PostPosted: Fri 29 Jun 2007, 04:50    Post subject:  Sloooow developent of CoolPup...
Subject description: Very slow! :(

Yes it's slow.

I am using the 2.14 core, but I've decided to go use 2.16.1 now...

And to make it more interesting, I am 2000 miles away from home!
(The files are on the desktop computer, and I don't have a laptop...)


Could anyone help me with development?

One of the things I need to do is to make a script to copy the base packages to a folder called "basepkg" (no quotes).

Starts like this:


# This will be executed while in the "packages" directory of the
# Puppy 2.16.1 Unleashed directory....

# Make the folder...
echo "Checking if the folder exists....
ls basepkg

if [ $? = 1 ]

echo "It doesn't exist! We will create it...."
mkdir basepkg

echo "It already exists...."

echo "Now we will copy files...."

cp --target-directory=./basepkg/ \
[u][b][i]BASE DOTPUPS GO HERE FOLLWED BY A BACKSLASH(\).....[/i][/b][/u]

Easy to do:

Run your Puppy 2.16.1. If you have saved a save file, type


puppy pfix=ram

Now let it boot. Now do the wizard as you did before.

Then, when you see the desktop, open ROX the file manager (or just press Home on the desktop). Click on the eye button. This will let you see the hidden files.

Now click/open the folder ".packages" (without the quotes).

Stop here.

Go back to the desktop but not close the file manager!!!!

Click on Drives.
Below your hard drive, click Mount.

Now, close the drive mounter.

Go back to the other "Home" ROX window that you had. Don't minimize the other window that popped up.

Drag the packages.txt to the other ROX window.

A menu should come up. Click on Copy.

Now go edit the packages.txt.
First remove any "unavaliable" or "off" packages!
I must be making you work hard, right?
Well, I don't either!
I found a shell script on http://www.comp.eonworks.com/scripts/delete_words_script-20040619.html. Using it? Just download it into the same directory where the soon-to-be-edited packages.txt is.
Click on it. Click yes to extract it.

Open a terminal.
cd /mnt/hda1
(or similar if not the same)
./rmlines -i "off" -o "packages.txt"

Now finally type
./rmlines -i "unavaliable" -o "packages.txt"

Remove the details at the end.
And put an astriek(*) at the end.
And a backslash(\) too.
Confused? Look below:
(Leave the package name at the end,and put a *, For example:


"gtk+-2.10.17" "gtk+-2.10.17": " on " "\
"0pkgs_db-2.1.5" "0pkgs_db-2.1.5: " on " " \
"0rootfs_skeleton-2.1.4" "0rootfs_skeleton-2.1.4: " unavailable "CONSCORE 13940K" \


"gtk+-2.10.17"* \
"0pkgs_db-2.1.5"* \
"0rootfs_skeleton-2.1.4"* \

For Linux geeks, now you know why I've did this.
The * says any file that has the left part(package name) is a wildcard; any filename
that has the base is copied into basepkg. And the slash \ is the same as if
I listed files without pressing ENTER.


I type cp fff* ./hhh/

The list of files:


fff1, fff2,fffhshs,and fff3 are copied to directory hhh, since it has the "fff" base.

cp lsls \
hhh \
is the same as
cp lsls hhh ./hhhx/

All you have to do now is copy my beginning part of my script(far above)
to the beginning of packages.txt.

Post back the finished code!


Posted that on another forum, but edited it.
That is urgently needed to keep going!

Please, with a cherry on top Razz help me!!!!

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2184s ][ Queries: 12 (0.1293s) ][ GZIP on ]