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 Sun 19 Aug 2018, 19:52
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 48 of 52 [773 Posts]   Goto page: Previous 1, 2, 3, ..., 46, 47, 48, 49, 50, 51, 52 Next
Author Message
wanderer

Joined: 20 Oct 2007
Posts: 727

PostPosted: Fri 20 Jul 2018, 00:27    Post subject:  

hi systemdthanks

i would like to use your script to make an iso from corepup 6

what tcz would i need to load for your script to work

could i copy another corepup 6 iso to the home directory
and use that as the iso to modify

once again thanks for doing all this work
as i said the script idea is awesome

and rockedge

thanks for all the help and experimentation
it is greatly appreciated

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

Joined: 03 May 2018
Posts: 331

PostPosted: Fri 20 Jul 2018, 00:59    Post subject:  

wanderer wrote:

i would like to use your script to make an iso from corepup 6


the script can actually make corepup-6, so if you want to modify corepup-6, the easy way would be to

1. set it up to create corepup-6
2. make whatever changes you want

now this uses coreplus as the iso. thats standard tinycore, so if you do it this way then people can find the source iso very easily--

even if smokey decides for some bizarre reason to chuck his ftp server into the ocean, you can still make corepup-6 from coreplus.

mcorepup is the corepup version of mkfigos. mkfigos is designed to be simple and flexible, ive used it to remix puppy tahr, librepup, antix, partition wizard, refracta, void linux and coreplus.

so im pretty sure it can make changes to corepup 6, too. my question is, are you sure thats how you prefer to do it? it will be more work for you that way, i believe.



Quote:
what tcz would i need to load for your script to work


because i wanted it to be as easy as possible, and i knew he had several distros set up, i actually recommended rockedge use puppy tahr for remixing it.

i am also, funnily enough, working on mcorepup 0.5, which (now that it can create tczs at the same time as corepup) may include a remaster profile, which would create mcorepup.tcz and try to include everything needed for mcorepup to run from corepup.

that said! i have yet to actually try running mcorepup from corepup. it should be doable-- mcorepup is designed to run as many places as possible, within reason.

i know people are going to want to run mcorepup from corepup, but there were other features that i considered higher-priority.

(mcorepup is about 2 weeks old.)

youll need at the very least, python.tcz. if you want to be able to dd corepup to to usb without a helper application, youll also want syslinux.tcz (its optional. i dont think the official isos are hybrid.)

mcorepup 0.4 creates fig46.tcz, which i will attach here as fig46.tcz.gz (the forum only allows certain extensions. just rename it.)

you probably already have squashfs tools included-- those are in coreplus and probably in corepup-6 as well. and youll need tar.tcz but thats also in coreplus and corepup-6.

in 2 weeks ive really become very familiar with your system.



Quote:
could i copy another corepup 6 iso to the home directory
and use that as the iso to modify


i really believe so, but id very much recommend starting with mcorepup 0.4 instead.

to set it up to create coreplus-6, remove "wanderer-minimal" and "wanderer-core" from addchanges. i havent tried it yet, but between these addchanges:

wanderer <- coreplus-6

wanderer wanderer-minimal <- coreplus 7

wnaderer wanderer-minimal wanderer-core

^ coreplus 8



you should be able to create all 3 isos from the latest mcorepup.

if its your first time, id actually recommend making coreplus-7 first as practice.

its small and its got a gui, and its the version i focus on by default for new versions of mcorepup.



Quote:

once again thanks for doing all this work


in all seriousness wanderer, i am honoured to be assisting you at all with this. youre very welcome and a joy to work with. you make it easy.
fig46.tcz.gz
Description  md5 588ea27d30b238ad1c577e2b1d8409e1
gz

 Download 
Filename  fig46.tcz.gz 
Filesize  12 KB 
Downloaded  32 Time(s) 

_________________
strengthen the public domain, use free culture/free sw licenses and cc0
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 733
Location: Connecticut, United States

PostPosted: Fri 20 Jul 2018, 14:44    Post subject:  

I was able to run fig46.py mcorepup04.fig in corepup-7, which was made using the same running
under Tahr 6.0.5nopae

a look at stage one after running
Code:
 fig46.py mcorepup04.fig
run_mcorepup04_in_corepup7.png
 Description   
 Filesize   139.11 KB
 Viewed   200 Time(s)

run_mcorepup04_in_corepup7.png

Back to top
View user's profile Send private message Visit poster's website 
nosystemdthanks

Joined: 03 May 2018
Posts: 331

PostPosted: Fri 20 Jul 2018, 16:34    Post subject:  

rockedge wrote:
I was able to run fig46.py mcorepup04.fig in corepup-7


oh yeah-- that should really run anywhere that python 2 runs. i mean there are some old macs with python 2 that are hard to update because theyre powerpc chipsets. those versions of python are so old that fig46 is more likely to work than earlier versions.

but assuming your version of python is newer than os/x tiger, you should be able to do that first part on any platform. probably even android. even windows.

running the second part is the part where you need to have other stuff installed.

im not sure all of it is available for coreplus, but it most likely is. if it isnt, we can make it work either way. let me know if you get a corepup out of running it on corepup.

_________________
strengthen the public domain, use free culture/free sw licenses and cc0
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 727

PostPosted: Fri 20 Jul 2018, 23:16    Post subject:  

hi nosystemdthanks and rockedge and all

if you can make a corepup in corepup
post some simple directions on how to set everything up
so i (and other people) can try the build system

i am trying to follow along as best i can
but you guys are way above me
so the instructions need to be pretty simple

i am doing my stuff manually
which is complementary to your work
and i have a whole list of tasks to play with
i will post if there is anything i think might be of interest

thanks for all your work
its all pretty amazing

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


Joined: 11 Apr 2012
Posts: 733
Location: Connecticut, United States

PostPosted: Fri 20 Jul 2018, 23:42    Post subject:  

here is a completed corepup-7 created completely in corepup-7. In the screenshot you can see the directory structures. In /tc/Corepup all the scripts and the CorePlus 6.4.1.iso

loaded is the
fig46.tcz
python.tcz
python-dev.tcz

open the terminal in /tc/Corepup and use
Code:
python fig46.py mcorepup04.fig


when that finishes type
Code:
./mcorepup04.fig.py

let it finish and in /mnt/mcorepup there should be a corepup-7.iso
run_mcorepup04.fig.py_in_corepup7.png
 Description   
 Filesize   113.77 KB
 Viewed   152 Time(s)

run_mcorepup04.fig.py_in_corepup7.png

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

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

PostPosted: Fri 20 Jul 2018, 23:54    Post subject:  

Hi guys,

This stuff is becoming interesting. Unfortunately I don't have time to study your build scripts/details at all, and couldn't anyway since I hardly know Python unfortunately, which I gather fig is written in.

What does fig do by the way (in terms of simplifying such system-build scripting compared to just using straight Python)?

I have no time to brush up on Python just now since, instead, owing to its small additional footprint, I'll be learning Lua in a short while (mainly becauses I'm very taken with IUP gui/widget builder as an alternative to gtkdialog/gtkwialog style coding; I'm also hoping my recent gtkwialog work might prove useful in adding some extra functionality to IUP.

However, since Python comes on most systems nowadays (or is soon pulled in since so much depends on it), it is certainly a nice general-purpose scripting solution - if IUP was ported to work with Python too that would be a nice simple gui/widget creation system for Python, rather than the somewhat complicated wxWidgets, PyGTK. PyQt or whatever (but I don't think IUP is ported to Python thus far). Anyway, that's a bit off-topic unless you are building a gui for your system-builder (nothing to stop you using gtkdialog/gtkwialog/IUPLua for that of course: driving the underlying fig code etc).

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

Joined: 03 May 2018
Posts: 331

PostPosted: Sat 21 Jul 2018, 00:15    Post subject:  

wiak wrote:

This stuff is becoming interesting. Unfortunately I don't have time to study your build scripts/details at all, and couldn't anyway since I hardly know Python unfortunately, which I gather fig is written in.


hi wiak.

most programming languages have an implementation language-- gcc is implemented in a standard c++ version, so for example if you are compiling pascal with gcc, you only need to learn pascal-- you dont need to know c++ to use a pascal program, even if the compiler is implemented in c++.

fig is a small (less than 100 commands) programming language designed for educational use, but it is also useful for creating utilities.

it is implemented in python, though you dont need to know (or code in) python to use it.

this build script is implemented in fig. to compare it to lua-- which was not inspiration for fig, but watch this:

Code:
-- this is lua code
for i = 10,1,-1
do
   print(i)
end


Code:
# this is fig code
for i = 10,1,-1
   now = i ; print
next


note that with the lua code, this syntax is mandatory = , , ( )

while you can remove all of the syntax from the fig version, because it is inspired by logo syntax:

Code:
# this is fig code
for i 10 1 -1
   now i print
next


only # hashes for comments

and "quotes for strings" are mandatory.

note also that python has mandatory whitespace, and fig does not.

python and lua are both case-sensitive; fig is not.

lua is a more complete language, to be sure-- fig is a language designed to be easier to explain to people who have never coded (or even written a bash script, which i personally consider coding even though one person who codes in it insisted that they were "a NON-CODER". but i dont think that bash scripts are "non-code.")

i created fig in 2015, ive used it to remaster puppy and other distros since 2016.

i cant say fig is the easiest language in the world. it tries to be. sometimes whats easy is subjective.

python, lua and logo are all good educational languages.

bash is a language that people often learn along the way, while using it in puppy for example.

a lot of the gnu/linux tricks i know i learned in puppy first, 10 years before remixing puppy with fig.

note that i am a fan of gtkwialog, though mcorepup is designed to run from puppy (rockedge ran it from tahr before he ran it from corepup) and also refracta, and also void linux, and other places that gtkwialog may or may not be present.

a gui version of mcorepup would be very welcome, though i would actually recommend forking mcorepup and creating a different gui-based corepup builder.

not a requirement, its more like an opinion.

although mcorepup is turning into something relatively flexible, the usual way i do these things is one-mcorepup-version-per-corepup version.

the corepup philosophy differs there, so mcorepup is slightly different than the script i based it on (and thus gains features.)



rockedge wrote:
let it finish and in /mnt/mcorepup there should be a corepup-7.iso


i believe youre the first person to run mcorepup in corepup. thats very cool, thanks very much, its something im working on (first, you make tczs automatically, then-- rockedge does it first because he just does it.) <- intended as compliment

this is cool, im still making tczs for this.

i would ask why is your corepup-7 more corepup-6 sized? what was your addchanges when you ran that?

_________________
strengthen the public domain, use free culture/free sw licenses and cc0

Last edited by nosystemdthanks on Sat 21 Jul 2018, 00:59; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 733
Location: Connecticut, United States

PostPosted: Sat 21 Jul 2018, 00:51    Post subject:  

a look at the corepup-7 built from mcorepup04.fig

notice the missing icons/buttons in the icewm desktop. the Wallpaper changer seems to work and after fixing the permissions of /tce I am able to load tcz packages.

I will post later my configuration and some more detail on how it runs, and why it is 83 megs
I am going to say good night now...see everyone later.
corepup-7_mcorepup04.png
 Description   
 Filesize   75.53 KB
 Viewed   138 Time(s)

corepup-7_mcorepup04.png

Back to top
View user's profile Send private message Visit poster's website 
nosystemdthanks

Joined: 03 May 2018
Posts: 331

PostPosted: Sat 21 Jul 2018, 01:09    Post subject:  

rockedge wrote:
notice the missing icons/buttons in the icewm desktop. the Wallpaper changer seems to work and after fixing the permissions of /tce I am able to load tcz packages.


rockedge and i have talked about stuff like this already, but for others reading this, i do not think this is mcorepup-related. if we can find a problem that causes this, its possible mcorepup can fix it.

the /tce permissions are setup by the user.

Quote:
I will post later my configuration and some more detail on how it runs, and why it is 83 megs


cool. as wanderer says, thank you for all the work youve done.

mcorepup lets you add packages to the iso (and create tcz packages in the same run, and add those too) so im sure its very possible to create a corepup-7-based iso that size.

its not the default (for corepup or mcorepup) and thats why i asked rockedge how it got there.



please note: although i prefer not to make changes like this lightly, from mcorepup 0.5 "addchanges" will be known as "profiles" instead. this makes documentation easier and hopefully makes mcorepup a little easier to understand.

Quote:
# to create corepup-7 instead of 8, remove wanderer-core profile and set isov to "7"

_________________
strengthen the public domain, use free culture/free sw licenses and cc0
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 727

PostPosted: Sat 21 Jul 2018, 14:38    Post subject:  

hi all

just an update

nosystemdthanks appears to be continuing to work on his mcorepup
which i feel will be the future of corepup

i intend to use it
and am trying to learn it now

in addition studying the components of corepup
so that they can be put together
in further interesting and useful ways is a focus

core.gz is very small and eminently functional
but it will be informative to take it apart
with the goal of producing interesting variants
possibly even a smaller core

as well as many others tasks along the way

so that is what i am up to

once again much thanks to nosystemdthanks and rockedge
and everyone else who has contributed and commented

i will continue to sit back and watch with awe

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

Joined: 03 May 2018
Posts: 331

PostPosted: Sat 21 Jul 2018, 15:02    Post subject:  

wanderer wrote:

core.gz is very small and eminently functional
but it will be informative to take it apart
with the goal of producing interesting variants
possibly even a smaller core


what i would really like for that is for you to version the core.gz like core.gz.01 for example, and then upload it to the site where you offer the iso downloads.

then ally can archive them in the corepup archive too.

mcorepup can probably remaster that too at some point-- when i start using it from corepup like rockedge does, i will get a better idea about that.

but being able to download your core.gz separately (even if its not bootable without the iso) would be beneficial.

keep up the great work

_________________
strengthen the public domain, use free culture/free sw licenses and cc0
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 727

PostPosted: Sat 21 Jul 2018, 16:28    Post subject:  

hi nosystemdthanks and all

i have posted mkcore-1.tar.gz
to the smokey01 site

this is build directory of core.gz

it contains the uncompressed corepup core.gz
and instructions for for zipping and unzipping it

as of now i do not intend to modify it further
but in the future i will

keep the faith

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

Joined: 03 May 2018
Posts: 331

PostPosted: Sat 21 Jul 2018, 17:56    Post subject:  

wanderer wrote:
hi nosystemdthanks and all

i have posted mkcore-1.tar.gz
to the smokey01 site

this is build directory of core.gz


actually i meant the core.gz binary. i have tried more than once to redo that outside of corepup, i think its the permissions with cpio, or something. so it would be very useful to have the binary there too.

_________________
strengthen the public domain, use free culture/free sw licenses and cc0
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 727

PostPosted: Sat 21 Jul 2018, 22:30    Post subject:  

hi nosystemdthanks

i just posted the corepup core.gz binary
to the smokey01 site
this is the 1st one
the next will be named core.gz-2
when it comes along

hope this is useful

thanks again

wanderer
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 48 of 52 [773 Posts]   Goto page: Previous 1, 2, 3, ..., 46, 47, 48, 49, 50, 51, 52 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.1340s ][ Queries: 13 (0.0241s) ][ GZIP on ]