Install script

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
mocabilly
White ninja
White ninja
Posts: 21
Joined: 12 Jan 2011, 17:53
Distribution: Mint-Porteus
Location: Belgium

Install script

Post#1 by mocabilly » 10 Aug 2013, 11:27

First of all, a big thank you for the Porteus team, for all the hard work you people put in to Porteus.

The bug:
OS used: Linux Mint 11
proc.: x86

The Linux install script contains the "realpath" command. (Line 804)

Code: Select all

# Switch to directory where the installer is located:
cd $(echo `realpath "$0"` | rev | cut -d/ -f3- | rev)
Not all linux distro's contain "realpath".
Running the install script from /mnt/sxdx/boot/ did yield a wrong install dir (/home/x/.private)
cancelling the script (ctrl-c) was possible.

I than ran the script from "/" so -maybe- the correct install-dir would be found.
- no "install-screen" was shown
- the script started to do ... stuff screen-scrolling was quite fast :(

Some programs do no longer work.. (firefox under user account)
I didn't exam yet what else needs fixing...

Question - Can you build in a realpath-is-installed check?

Kind regards,

Mocabilly
There are only 10 kind of people in this world, those who can read binary and those who can't.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Install script

Post#2 by fanthom » 10 Aug 2013, 12:07

@mocabilly
i have split the topic here as 'Kiosk' feedback thread is for our Kiosk edition.

this is the second case where missing 'ralpath' is preventing the installation (both were the Ubuntu systems).
will add a check for this (and other utils) to the installer and update ISO's on the server without bumping version (people who already installed porteus are ok so no need to re-download.)

thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Install script

Post#3 by brokenman » 10 Aug 2013, 20:20

Please test updated install script. realpath has been replaced with another (hopefully more portable) codeblock. realpath was made part of GNU coreutils in Jan 2012. I guess you have your reasons for sticking with 11.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply