Page 1 of 1

Install script

Posted: 10 Aug 2013, 11:27
by mocabilly
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

Re: Install script

Posted: 10 Aug 2013, 12:07
by fanthom
@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

Re: Install script

Posted: 10 Aug 2013, 20:20
by brokenman
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.