FS#31022 - Bug in archiso's automated_script init-function.

Attached to Project: Release Engineering
Opened by Martin Hertz (mhertz) - Sunday, 05 August 2012, 20:40 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 25 August 2012, 13:10 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version testbuild (specify!)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I just wanted to report that scripts initiated through the 'script=' boot parameter isn't automatically started anymore on the latest stable iso(2012-08-04), since the following archiso file needs amending:

usr/share/archiso/configs/releng/root-image/etc/rc.d/functions.d/automated_script

In that file the script is set to be run from .bash-profile, but the newest iso's use zsh by default and hence, dosen't source .bash_profile...

When from the zsh-prompt is running 'bash -l', then the script runs, as .bash_profile is sourced...

A quick fix, is just to echo the startupscript to .zprofile instead, or maybe to both .zprofile and .bash_profile to cover all situations...

Thanks in advance!

Martin.
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 25 August 2012, 13:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Implemented. https://projects.archlinux.org/archiso.g it/commit/?id=0fdbf313415e28ebc96e1fb5da 7577b996ab6aa1
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 08 August 2012, 00:34 GMT
oops, will be fixed for next snapshot ;)

Loading...