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 Mon 18 Jun 2018, 08:01
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
corepup
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 32 of 34 [501 Posts]   Goto page: Previous 1, 2, 3, ..., 30, 31, 32, 33, 34 Next
Author Message
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Tue 12 Jun 2018, 18:26    Post subject:  

thanks gobbi

very cool pictures

wanderer
Back to top
View user's profile Send private message 
Gobbi

Joined: 09 Mar 2012
Posts: 241

PostPosted: Tue 12 Jun 2018, 18:39    Post subject:  

Thank you , but your corepup looks good Exclamation Wink
Back to top
View user's profile Send private message 
nosystemdthanks

Joined: 03 May 2018
Posts: 164

PostPosted: Tue 12 Jun 2018, 19:11    Post subject:  

wanderer wrote:
hi all

I would like to ask if there is anyone
who would be willing to write a script
that would turn puppy sfs or pet files into tcz files
or download debs and turn them into tcz files

it would have to be written in busybox
wanderer


wanderer this is not difficult, the only tricky part is the tcz part and thats doable.

pet packages can be opened using whatever the "file" command says first. in the past, pups were a mix of zip and tgz, you just ran one and then ran the other and there, you have files to zip back up.

deb packages can be opened using dpkg-deb, which is available in puppy tahr.

getting the data back into tcz is trickier, and probably involves mksquashfs. youll want to parse or at least copy the metadata, thats the worst of it.

but this is a thing the forum can help with. are you sure there isnt a script to do this already? its exactly the sort of thing id expect puppy fans to have sorted out years ago.

_________________
philosophy is important to software design; coding is useful for demonstrating design concepts
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Tue 12 Jun 2018, 19:52    Post subject:  

hi nosystemmdthanks

actually making the tcz is very easy
it only uses one kind of squashfs

the sfs files use multiple kinds

in fact just a script to determine the squashfs version
and unsquashing it would be enough

probably would be better
since then I can use a linked directory
examine and modify things
and then use the tcz squashfs to close it

no need to do anything more
about dependencies or stuff
since some things will work and some wont
and its not worth messing with things
until you find out what will work

anyway thanks for the input

wanderer
Back to top
View user's profile Send private message 
nosystemdthanks

Joined: 03 May 2018
Posts: 164

PostPosted: Tue 12 Jun 2018, 20:11    Post subject:  

if this is making your job easier at all, im very happy.

when dealing with squashfs (manually or in a script) i simply try to mount it and if that doesnt work i run unsquashfs (to cover older versions that dont like to mount)

as a rule you can use unsquashfs, but its not as convenient as mounting.

running "file" on the sfs may help, unless there is some squashfs info tool. unsquashfs may have the option to output file version and exit.

wget -O- 'http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=99612' | grep sq --color=always

_________________
philosophy is important to software design; coding is useful for demonstrating design concepts
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Tue 12 Jun 2018, 20:14    Post subject:  

I will try that

thanks

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Wed 13 Jun 2018, 16:51    Post subject:  

hi all

downloaded corepup-2.iso
to smokey01 site

now boots to corepup desktop by default

more bugs to fix and things to add

excelsior

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Wed 13 Jun 2018, 21:02    Post subject:  

hi all

downloaded corepup-3.iso

to smokey01 site

original core.gz replaced with
modified core.gz with modified tc-config file

this is a proof of concept
a boot code and function were added to tc-config

if you press tab at the menu
and type in corepup=corepup
this new boot code will be recognized
and after the extensions are loaded
a message will display saying

this is corepup
press enter to continue

excelsior

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Wed 13 Jun 2018, 22:12    Post subject:  

hi all

downloaded corepup-4.iso

to smokey01 site

modified naming structure
for optional directory and onboot.lst
to simplify making and loading the corepup.tcz

now the base system is in place

now only updating the corepup.tcz
and developing unique modifications
follows

excelsior

wanderer
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 390
Location: The Heart of Muskoka, ON Canada

PostPosted: Wed 13 Jun 2018, 22:45    Post subject:  

I have no knowledge of tinycore, but thought I'd give corepup a try. I have a laptop which doesn't have an optical drive, so I've done a manual frugal install to a flash drive which I have all my puppies installed on.

I've tried corepup-2 and 4, both only boots to an command line (tty1 environment). I am unable to get X to start. Can you advise how to start a graphical desktop from a command line prompt.

Can you also advise passwords for user 'tc' and root, as to shutdown from prompt I currently have to do a hard shutdown.
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Wed 13 Jun 2018, 23:01    Post subject:  

hi terry h

to shutdown from the prompt

sudo poweroff might work

if not
you will have to change the password

sudo passwd
then it will ask for a new password
and then use the password to get a root shell
and type in poweroff

if you have a usb
you can make a live usb
with linuxlive on windows
and boot from there

try tinycore 9 first
corepup is from tinycore 6.4.1
and uses an older kernel
it doesnt boot to gui on my newer laptop

tell me how things went

soon i will make a tc 9 version of corepup

good luck

wanderer
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 390
Location: The Heart of Muskoka, ON Canada

PostPosted: Wed 13 Jun 2018, 23:21    Post subject:  

Thanks wanderer, totally forgot to try sudo. It's late now so I'll try again tomorrow.
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Thu 14 Jun 2018, 00:49    Post subject:  

hi all

i am finding some problems with corepup-4.iso

so i removed it from somokey01 site

corepup-3.iso is the last stable one

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 578

PostPosted: Thu 14 Jun 2018, 01:02    Post subject:  

i also note that corepups jwmrc
will interfere with tinycores jwmrc
if it is saved

maybe a script to correct this

bugs to work out

wanderer
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3092
Location: holland

PostPosted: Thu 14 Jun 2018, 12:16    Post subject:  

Hi wanderer and all,

Installed corepup-3 to usb-stck sdb1.
From "Apps" I installed vlc, abiword, alsa, alsaconfig (to get sound) and firefox-ESR.
All installed fine and running OK and saved after reboot (and sound works).
Good addition, btw, is the bottom panel.

What doesn't work:
- Geany is in the Menu, but doesn't run (probably not installed)
- Exit to prompt doesn't work from Menu, need to click the "Exit" icon from wbar, and then "Exit to prompt"

I installed to usb-stick sdb1 with bootloader grub4dos, my menu.lst entry:
Code:
title Corepup
root (hd0,0)
kernel /corepup/boot/vmlinuz showapps tce=sdb1/corepup/cde/ desktop=corepup-jwm waitusb=5
initrd /corepup/boot/core.gz

The contents of the ISO (boot and cde) I copied to folder "corepup" at the root of sdb1

Attached is an install package (grub4dos), extract in sdb1 (or e.g. sda1, see readme inside)
Open a terminal in the mountpoint of sdb1 (e.g. /mnt/sdb1) and run:
Code:
./weeinst

to install grub4dos mbr.
menu.lst, grldr and readme are included.

Fred
corepup-inst.tar.gz
Description  Extract in sdb1 (or sda1), see in readme for more info
gz

 Download 
Filename  corepup-inst.tar.gz 
Filesize  136.44 KB 
Downloaded  2 Time(s) 

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 32 of 34 [501 Posts]   Goto page: Previous 1, 2, 3, ..., 30, 31, 32, 33, 34 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1229s ][ Queries: 15 (0.0409s) ][ GZIP on ]