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 21 May 2018, 13:12
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Auto-build a Puppy iso; single script with optional gui
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 17 [251 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 15, 16, 17 Next
Author Message
rufwoof

Joined: 24 Feb 2014
Posts: 2323

PostPosted: Wed 30 Aug 2017, 09:40    Post subject:  

Thanks wiak
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3315
Location: Worcestershire, UK

PostPosted: Wed 30 Aug 2017, 11:05    Post subject:  

wiak wrote:
rufwoof wrote:


Do you know whether if you leave local-repositories will the next run pull down any changed versions of those i.e. later versions of libs/programs if any are available?

Yes - latest versions will be downloaded by ./1download as long as repositories have been updated by ./0setup....

./2createpackages can then be run selectively on just the updated packages.

This makes building an updated system very fast (c. 15mins for LxPupSc).

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
rufwoof

Joined: 24 Feb 2014
Posts: 2323

PostPosted: Wed 30 Aug 2017, 12:02    Post subject:  

Thanks peebee.

Just built a 64 bit Xenial from woofce-rationalise (I hard coded makepup values to ...
Code:
# Default config:
nTARGETARCH="3"              # i.e. target is x86 (1=arm, 2=x86, 3=x86_64)
nCOMPATDISTRO="5"            # i.e. distro is slackware (1=debian, 2=devuan, 3=slackware, 4=trisquel, 5=ubuntu)
nCOMPATVERSION="2"           # 2 is xenial (1 trusty)
WOOFBRANCH="woof-CE-rationalise" # woofbranch, e.g. woof-CE-testing
#WOOFBRANCH="woof-CE-testing"
nHUGEKERNEL="28"             # i.e. hugekernel to use huge-4.9.15-xenialpup64.tar.bz2
interactive="false"          # "true" means: Require user input during the build
gui="false"                  # "true" means: Use gui frontend (wiak remove comment when done: gui not yet implemented)
keep="false"                 # "true" means: Keep previous woof download files and directories
pause="false"                 # "true" means: pause makepup script just after merge2out routine to allow package selection changes
DEVX="true"                 # "true" means: Create DEVX sfs


Built and booted fine.

Sound, internet, change resolution, firewall, savefolder ...etc. all working as expected. Only problems I've found so far is that the drives top right unmount hot area doesn't work (just opens the drive in rox) and using pupclockset to change the trays time format to a custom %a %d %b %R ... and then saving, had the top of screen panel/tray lose its settings to leave just setup and jwmdesk icons only in that panel ... and no minimised windows shown either (I'm having to use Ctrl-Alt-Tab to switch between windows as I post this).
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 632
Location: not Bulgaria

PostPosted: Wed 30 Aug 2017, 17:30    Post subject:  

peebee wrote:

Yes - latest versions will be downloaded by ./1download as long as repositories have been updated by ./0setup....

./2createpackages can then be run selectively on just the updated packages.

This makes building an updated system very fast (c. 15mins for LxPupSc).


He Peebee, rufwoof and anyone reading,

Thanks for that info, Peebee. It's especially useful to have such input from an experience Puppy builder like yourself. I can easily add a --update/-u switch to makepup to modify its behaviour for update packages use. Is there a way provided by 1download to indicate which packages have been updated such that I can automate 2createpackages to selectively operate on just these packages in terms of update? A step by step example of how you go about such an update, including how you use 2createpackages to selectively operate would help me automate these mechanisms via makepup function.

Otherwise I can use modification times to local-repository files as a possible mechanism but still need to know how to use 2createpackages for selective operation.

Such modifications to makepup are likely to be made later anyway since other improvements still in progress.

wiak

Last edited by wiak on Wed 30 Aug 2017, 17:36; edited 2 times in total
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2323

PostPosted: Wed 30 Aug 2017, 17:33    Post subject:  

I've just run makepup for a second time, leaving everything from the first run (that took about a hour) as-is, and the second run took 48 minutes (and seems to have built the iso and devx ok). Seems about right as I'm on a 100Mbs link so I guess around 12 minutes of download time for the first run not being required in that second run.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 632
Location: not Bulgaria

PostPosted: Wed 30 Aug 2017, 17:39    Post subject:  

rufwoof wrote:
I'm on a 100Mbs link


You are fortunate, rufwoof. I live in a rural area that only has very slow broadband (around 0.5Mb download speed...) so each makepup build test takes a while - though still less than a couple of hours even when using an empty local-repository...

wiak
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3315
Location: Worcestershire, UK

PostPosted: Wed 30 Aug 2017, 17:48    Post subject:  

wiak wrote:
Is there a way provided by 1download to indicate which packages have been updated such that I can automate 2createpackages to selectively operate on just these packages in terms of update?

LOL - I've got a tweak to 1download that I will submit to woof-ce tomorrow for precisely this....

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 3315
Location: Worcestershire, UK

PostPosted: Wed 30 Aug 2017, 17:50    Post subject:  

rufwoof wrote:
I've just run makepup for a second time, leaving everything from the first run (that took about a hour) as-is, and the second run took 48 minutes (and seems to have built the iso and devx ok). Seems about right as I'm on a 100Mbs link so I guess around 12 minutes of download time for the first run not being required in that second run.

Most of that is probably a repetition of a complete 2createpackages that wasn't really needed....

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
rufwoof

Joined: 24 Feb 2014
Posts: 2323

PostPosted: Wed 30 Aug 2017, 17:58    Post subject:  

peebee wrote:
Most of that is probably a repetition of a complete 2createpackages that wasn't really needed....

Yes peebee. I just sat and watched it do all of that. Just a test really to see if I got the same OK outcome result for Xenial as wiak got for Slacko when repeat running without having cleaned things out.

Should also say I'm running a AMD Phenom x4 2GB that's around 10 years old so my timings are relative to that. Using a ext3 format partition (otherwise empty). [I like ext3 as that's a more flexible choice i.e. BSD can rw to that, but as though ext2 (no journaling), whilst it can be mounted as though a ext4 (for even better recovery/data safety, however ext3's stability/recovery is pretty good anyway IME)].
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2323

PostPosted: Wed 30 Aug 2017, 19:45    Post subject:  

That second Xenial 64 build works fine. Looks like a lot of work going into the next Puppy and there are issues with using the menu based configuration tools, however reverting to a manual edit approach of jwm files and otherwise its working really well.





... and with makepup tracking updates is just a click away Smile
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 294
Location: indonesia

PostPosted: Thu 31 Aug 2017, 02:11    Post subject:  

This is what i got. I make Dpup Stretch using this makepup.
I must download firefox from ppm first because the defaultbrowser can not walk. Very Nice, Wiak and Woof-CE Community..
Thank You.

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

Joined: 11 Dec 2007
Posts: 632
Location: not Bulgaria

PostPosted: Thu 31 Aug 2017, 04:14    Post subject:  

Thanks for your report recobayu!

Glad to hear makepup script has worked for you making a Dpup Stretch.

Could you kindly post the makepup commandline you used since that info proves to be a useful resource, so is always useful in reports if only for confirmation of makepup commandline options used.

It's also good to know specification of the build machine you used, Puppy host distribution (name, version and whether 32bit or 64bit) and whether 32bit or 64bit target distribution. An indication of the time it took for the build to complete would also be great. A lot to ask, I know.... Smile

For your commandline, I'm presuming:

Code:
./makepup -d 1 -r 1


with no other commandline options added?

Thanks in advance if you can provide any of that info!

wiak
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 294
Location: indonesia

PostPosted: Thu 31 Aug 2017, 06:15    Post subject:  

Quote:
Code:
./makepup -d 1 -r 1

Yes. But it is very loongg time to wait it.
1270 items in folder packages-deb-stretch, and
153 items in packages-pet.

My suggestion is, There is better if after make an iso (or remaster from that iso) and devx, someone upload that iso so we can download it directly.

I copied my jwmrc-tray from xenial to change the tray full horizontall.

here is the iso (238M):
https://drive.google.com/file/d/0B139JQzD_9i_NGJHSVBPX0RwTkU/view?usp=sharing
hardinfo_report.html.gz
Description 
gz

 Download 
Filename  hardinfo_report.html.gz 
Filesize  84.07 KB 
Downloaded  41 Time(s) 
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 632
Location: not Bulgaria

PostPosted: Thu 31 Aug 2017, 06:29    Post subject:  

recobayu wrote:
Quote:
Code:
./makepup -d 1 -r 1

Yes. But it is very loongg time to wait it.
1270 items in folder packages-deb-stretch, and
153 items in packages-pet.


Hi recobayu,

Yes, takes a long time, though not quite so long if you need to rebuild/update later and that is being worked on.

However, makepup is basically a frontend for woof-CE to make that a one-click easy operation and the purpose of woof-CE is to help easily produce an initial Puppy iso by anyone who feels like it - people can thereafter refine what they produce for their own use or to publish as an iso later. It all depends therefore what you want to use makepup/woof-CE for - some will want to simply use it to build an iso for their own use so the time to build is not so important then.

Thanks again for you report - it is good to see woof-CE being used and successfully. And thanks for sharing your iso for whoever wants to try it.

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

Joined: 11 Dec 2007
Posts: 632
Location: not Bulgaria

PostPosted: Thu 31 Aug 2017, 10:24    Post subject:  

peebee wrote:
wiak wrote:
Is there a way provided by 1download to indicate which packages have been updated such that I can automate 2createpackages to selectively operate on just these packages in terms of update?

LOL - I've got a tweak to 1download that I will submit to woof-ce tomorrow for precisely this....


Hi peebee,

re: looking at your woof-CE Pull request:

I see. So your plan is to have the name only of any new package downloaded stored under status/download_list and then use that list with 2createpackages to minimise the amount of work it needs to do? Maybe...

However, I've not quite worked this out yet, but the code in 2createpackages seems to have an option to only create changed packages (it appears to use run_findpkgs to sort out what has been changed based on md5sums...). 1download script uses the exact same run_findpkgs routine as far as I can see.

The option I'm taking about is:

Code:
2createpackages CHANGED_ONLY


If that is correct, then your proposed 1download change would seem unnecessary. But I haven't had time to check if using that CHANGED_ONLY option with 2createpackages does what I think it does... I'll try it tomorrow. If it does then it is very easy for me to add a --update/-u switch to makepup to include that facility.

wiak
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 17 [251 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 15, 16, 17 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.0787s ][ Queries: 12 (0.0135s) ][ GZIP on ]