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 Thu 21 Nov 2019, 05:44
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
YaPI (yet another Puppy Installer) install any Puppy iso
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 28 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, 31 Next
Author Message
B.K. Johnson

Joined: 12 Oct 2009
Posts: 773

PostPosted: Sun 20 Mar 2016, 13:10    Post subject:  

bigpup asked:
Some interest. Question
Yes
Some willingness to try it. Question
Yes, but not at this time. No free flash drive available now to dedicate to an ext file system. Were it testable on a FAT, maybe tested a long time ago. I use FAT and multiple puppies. Adding another puppy to test in that environment is easy. I don't play with Fatdogs or Quirky dogs. Laughing

But I have downloaded it. Smile
Some willingness to help. Question
Yes, but if no testing, what?
Good idea Question
Anything that makes puppy better is a good idea. And if you think it's a good idea... Smile
Not a good idea Question
I would not categorically say so. One of these days when I want to do something that YAPI provideas, I'll consider it a marvelous idea, won't I?
Don't remember if stated, but are more than 1 partition accommodable on the drive?
Question

Any feedback good or bad out there. Question Idea
You got them now! Wink
BFN

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

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

Joined: 04 Jan 2009
Posts: 14484
Location: Gatineau (Qc), Canada

PostPosted: Sun 20 Mar 2016, 14:23    Post subject:  

Hello all.

Sorry in advance for ruffled feathers, but IMO:

YaPI is a luxury.

-- Nothing beats the speed, neatness and precision of a --
-- manual frugal installation once you know how to do it. --


I did have fun being a team player. I discovered a couple of things along the way.
So I'll vote according to the party line.

"Comprenne qui pourra !" Wink (Somebody here knows who this wink is for!)

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Mon 21 Mar 2016, 12:54; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Sun 20 Mar 2016, 17:03    Post subject:  

L18L wrote:

YaPI should work in (future !) Woof-CE built Puppies (only Wink ) Exclamation

TahrPups seem to lack extra-button capable Xdialog.
That is not our problem IMHO.


Tahrpup 6.0.5 was/is the only Tahrpup with the problem.

I got the xdialog extra button problem fixed in Tahrpup 6.0.5
The refresh button now works.

Doing the latest Quickpet->Info->Tahrpup updates will install the fix to xdialog. The xdialog fix was recently provided in the updates.

However, the SuperFloppy still does not work in Tahrpup 6.0.5
After the xdialog update to Tahrpup 6.0.5
Still get no SUPERFLOPPY button.
With the xdialog fix now providing the extra buttons.
Tahrpup 6.0.5 must still have something missing that is needed for superfloppy.
Still trying to troubleshoot.

Quote:
That is not our problem IMHO

I agree this is not YaPI causing the problem.
But, I feel a need to help fix Tahrpup 6.0.5 if I can.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Sun 20 Mar 2016, 17:22    Post subject:  

B.K. Johnson,

Quote:
No free flash drive available now to dedicate to an ext file system. Were it testable on a FAT,

YaPI does frugal installs to Fat32 or Fat16 formats.

Example:
I have a USB flash drive formatted Fat32.
It has 5 different Puppy versions installed on it.
Has Grub4dos boot loader on it.
Boots to a boot menu, where you choose which Puppy to run.
Everything was installed using YaPI.

Everything you ask about, YaPI can do.

Frugal install to any partition, any format, any device.

Full installs to any partition on an internal drive that is formatted in a Linux format.

The only install YaPI does, that is a little strange, is the SuperFloppy install to a USB flash drive.
This one does use the entire drive and configures it a special way.
However, it does put a ext4 formatted partition, on the drive, that can be used as a normal partition.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Sun 20 Mar 2016, 17:51    Post subject:  

Quote:
The Prize ... a Better PUI! (not just a smarter one, but ...)

I think L18L has produced a very useful Puppy installer. Exclamation Exclamation Laughing

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 773

PostPosted: Sun 20 Mar 2016, 20:13    Post subject:  

B.K. Johnson,
Quote:
No free flash drive available now to dedicate to an ext file system. Were it testable on a FAT,


bigpup
Quote:
YaPI does frugal installs to Fat32 or Fat16 formats.

Thanks for the enlightenment. I stand corrected. I certainly will be more inclined to try YAPI the next time I am setting up a flash drive.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

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


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Mon 21 Mar 2016, 00:19    Post subject:  

L18L,

I need your help on this to make sure I am doing this correctly.

I am trying to use YaPI by running it in Precise 5.7.1

Downloaded the Yapi.pet
Did this to install it in Precise 5.7.1
Quote:
convert it to tgz
unpack it -> folder yapi.
dir2pet yapi creates yapi.pet which is installable on this version


Starting yapi from the menu entry.
Trying to do an install to a USB flash drive.
I get to the point of searching on the drive for the partitions available.
Yapi hangs.

I got this error message in the console:
Code:
/usr/sbin/yapi: line 562:  -1: substring expression < 0


I think I found the problem and how to fix it.
I did this:
Yapi Line 562 has this code:
Code:
l  printf "\"$p\" \"%s  %s\" " $ptype "${FREE:0: -1}  $I_TYPE" >> ${tD}_ # last blanc removed

I changed:
Code:
${FREE:0: -1}

To:
Code:
${FREE:0: -0}


I was now able to do a frugal install to the USB flash drive.

Yapi running in Precise 5.7.1 after my code change:
No refresh or SUPERFLOPPY buttons.
We know that is the xdialog issue in older Puppies.
click on iso file open with..... Yapi nothing happens.

Full installs and frugal installs work.

What do you think of this code change?

Also, I think the yapi.pet I converted in Precise 5.7.1 will install in other Puppies, but I have not tried it, yet.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Mon 21 Mar 2016, 09:58    Post subject: SUPERFLOPPY button
Subject description: Tahrpup 6.0.5
 

bigpup wrote:
However, the SuperFloppy still does not work in Tahrpup 6.0.5
After the xdialog update to Tahrpup 6.0.5
Still get no SUPERFLOPPY button.
With the xdialog fix now providing the extra buttons.
Tahrpup 6.0.5 must still have something missing that is needed for superfloppy.
Still trying to troubleshoot.

Let us inspect the
Code:
select_target_PARTITION () { #151216

 local HELP TEXT td aPARTITION aDESCRIPTION FREE I_TYPE NUM H EXTRA_BUTTON EXTRA_LABEL
 
 [ "$chosenDEVICE" ] || return

 # test and make make isohybrid
 [ "$(test_isohybrid)" = "hybr" ] || { isohybrid ${chosenISO} 2>/dev/null ; sync ; } #160303
 
 # decide if SUPERFLOPPY installation is offered
 if [ "$(cat /sys/block/$chosenDEVICE/removable)" != "1" -o $(cat /sys/block/$chosenDEVICE/size) -gt  31457280 -o "$(test_isohybrid $chosenISO)" != "hybr"  ]; then # size > 16 GiB #160303
  EXTRA_BUTTON=
  HELP="$(gettext 'It is your choice.')"
 else

Arrow No extra button if test_isohybrid $chosenISO)" != "hybr"

Code:
test_isohybrid () {

 [ "${1}" ] || { echo "no file" ; return 1; }
<snip>

return 1 (= false) because function has been called without parameter.
Fix it by changing line 524 from
Code:
 [ "$(test_isohybrid)" = "hybr" ] || { isohybrid ${chosenISO} 2>/dev/null ; sync ; }
to
Code:
 [ "$(test_isohybrid ${chosenISO})" = "hybr" ] || { isohybrid ${chosenISO} 2>/dev/null ; sync ; }


Congrats: YOU found a bug!
Though that does not help Tahrpup if it has perl version of isohybrid only....
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Mon 21 Mar 2016, 10:16    Post subject: # last blanc NOT removed
Subject description: What do you think of this code change?
 

bigpup wrote:
I got this error message in the console:
Code:
/usr/sbin/yapi: line 562:  -1: substring expression < 0


I think I found the problem and how to fix it.
I did this:
Yapi Line 562 has this code:
Code:
l  printf "\"$p\" \"%s  %s\" " $ptype "${FREE:0: -1}  $I_TYPE" >> ${tD}_ # last blanc removed

I changed:
Code:
${FREE:0: -1}

To:
Code:
${FREE:0: -0}


I was now able to do a frugal install to the USB flash drive.

Yapi running in Precise 5.7.1 after my code change:
No refresh or SUPERFLOPPY buttons.
We know that is the xdialog issue in older Puppies.
click on iso file open with..... Yapi nothing happens.

Full installs and frugal installs work.

[size=18]What do you think of this code change?


Potentially dangerous.

Blancs are used by Xdialog as field separators.

substring expression < 0 seems to be valid in bash4 which is in slacko 6301.
Guess that precise 57 has bash3....

OK, let us change the code, change
Code:
${FREE:0: -1}

to
Code:
$(echo $FREE | rev | rev)

It is a bit slower but safe.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Tue 22 Mar 2016, 04:30    Post subject:  

L18L,

Quote:
OK, let us change the code, change
Code:
${FREE:0: -1}

to
Code:
$(echo $FREE | rev | rev)

It is a bit slower but safe.

Yes that code change also works in Precise 5.7.1

I will test in some older Puppies and see if this also lets them do frugal and full installs.
That would be OK, if all Yapi could do is frugal and full installs, in older, non Woof-CE Puppies.

Update:
After making this code change. I tried using Yapi in several non Woof-CE Puppies.
Installed using the yapi.pet made in Precise 5.7.1
Works OK for frugal and full installs in Puppy series 5 versions. Nothing older works.
Do not get SuperFloppy or iso list refresh buttons. Too old a xdialog in them.
Some you had to start Yapi from console. Menu entry did not work.
That's not too bad, for old Puppies, trying to use a program that was not designed to work on that old a Puppy.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601

Last edited by bigpup on Wed 23 Mar 2016, 02:36; edited 3 times in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Tue 22 Mar 2016, 05:29    Post subject:  

L18L,

What about this issue?
http://www.murga-linux.com/puppy/viewtopic.php?p=894774#894774
A minor thing, but if we are code hunting for errors Idea

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Thu 24 Mar 2016, 06:38    Post subject:  

bigpup wrote:
L18L,

What about this issue?
http://www.murga-linux.com/puppy/viewtopic.php?p=894774#894774
A minor thing, but if we are code hunting for errors Idea

Maybe a minor thing but fix is major. Confused
There is no loop, only 2 chances to get the device!
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Thu 24 Mar 2016, 21:46    Post subject:  

L18L wrote:
bigpup wrote:
L18L,

What about this issue?
http://www.murga-linux.com/puppy/viewtopic.php?p=894774#894774
A minor thing, but if we are code hunting for errors Idea

Maybe a minor thing but fix is major. Confused
There is no loop, only 2 chances to get the device!

So, would it be better for YaPI to just close, if you select "no" to do a SuperFloppy install? Idea
Screenshot%2813%29.jpg
 Description   
 Filesize   19.76 KB
 Viewed   187 Time(s)

Screenshot%2813%29.jpg


_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Fri 25 Mar 2016, 05:18    Post subject: close yapi
Subject description: yapi-2016-03-25
 

bigpup wrote:
So, would it be better for YaPI to just close, if you select "no" to do a SuperFloppy install? Idea

Good idea!
Has been done in a minute.
Code:
#160325 close if superfloppy No.

and as zigbert wrote:
This Pmount is not a pet-package as we are now in the 'Cutting edge' section - not 'Additional software'.
this version is also not a pet. Cool
yapi-2016-03-25.gz
Description  click to unzip
make executable
click to run
gz

 Download 
Filename  yapi-2016-03-25.gz 
Filesize  11.61 KB 
Downloaded  188 Time(s) 
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Fri 25 Mar 2016, 16:18    Post subject: Re: close yapi
Subject description: yapi-2016-03-25
 

L18L wrote:
bigpup wrote:
So, would it be better for YaPI to just close, if you select "no" to do a SuperFloppy install? Idea

Good idea!
Has been done in a minute.
Code:
#160325 close if superfloppy No.

Just tell me to shut up and stop bothering you, if you want Laughing
Is this where you wanted YaPI to do the shutdown?
After hitting OK here?
see image below.

It goes back to select a drive.
It does the shutdown after you select another drive.
Screenshot.jpg
 Description   
 Filesize   5.16 KB
 Viewed   131 Time(s)

Screenshot.jpg


_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 28 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0843s ][ Queries: 12 (0.0173s) ][ GZIP on ]