Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 12:55
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Sloooow developent of CoolPup...
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
jimhap

Joined: 03 Mar 2007
Posts: 63

PostPosted: Fri 29 Jun 2007, 04:50    Post_subject:  Sloooow developent of CoolPup...
Sub_title: 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?
Quote:

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:
Code:

#!/bin/sh

# 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 ]
then

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

else
echo "It already exists...."
fi

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

Code:

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.
Type
Quote:
cd /mnt/hda1
(or similar if not the same)
Type
Quote:
./rmlines -i "off" -o "packages.txt"

Now finally type
Quote:
./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:

Quote:

"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" \

ERASE DETAILS

"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.
Quote:

Example:

I type cp fff* ./hhh/

The list of files:

fff1
fff2
gdsgs
fffhshs
fff3

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

--
cp lsls \
hhh \
./hhhx/
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!

Thanks,
jimhap


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

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


Thanks,
jimhap
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0493s ][ Queries: 11 (0.0028s) ][ GZIP on ]