> On Wed, 30 Oct 2019 11:15:37 +, Matteo Guglielmi
> said:
> yes,
> that works too for suse.
Thanks for the feedback. The patch is now included
--
regards Thomas
yes,
that works too for suse.
From: linux-fai on behalf of Thomas Lange
Sent: Tuesday, October 29, 2019 4:19:18 PM
To: fully automatic installation for Linux
Subject: Re: potential patch to check-cross-arch
>>>>> On Thu, 17 Oct 2019 10:35:2
> On Thu, 17 Oct 2019 10:35:24 +, Matteo Guglielmi
> said:
> For those interested,
> the final and working patch that takes care of all possible
> cases is the following one:
> _ls=$(realpath -m $_ls) # insert these two lines before
> _ls=$target/${_ls#/tar
: linux-fai on behalf of Matteo Guglielmi
Sent: Thursday, October 10, 2019 12:05:59 PM
To: fully automatic installation for Linux
Subject: Re: potential patch to check-cross-arch
I've added debugging commands to show the problem:
# where is the ls command
if [ -f $target/bin/ls ]; then
__
From: linux-fai on behalf of Matteo Guglielmi
Sent: Thursday, October 10, 2019 11:11:38 AM
To: fully automatic installation for Linux
Subject: Re: potential patch to check-cross-arch
Actually I'm not sure if your patch is correct
because despite the fact th
eadlink -m $_ls)
echo $_ls
/target/usr/bin/ls
From: linux-fai on behalf of Matteo Guglielmi
Sent: Thursday, October 10, 2019 8:40:33 AM
To: fully automatic installation for Linux
Subject: Re: potential patch to check-cross-arch
openSUSE Leap 15.0/15.1
automatic installation for Linux
Subject: Re: potential patch to check-cross-arch
>>>>> On Wed, 9 Oct 2019 15:40:02 +, Matteo Guglielmi
>>>>> said:
> This script:
> /srv/fai/nfsroot/usr/lib/fai/check-cross-arch
> fails (line 36: info=$(file
> On Wed, 9 Oct 2019 15:40:02 +, Matteo Guglielmi
> said:
> This script:
> /srv/fai/nfsroot/usr/lib/fai/check-cross-arch
> fails (line 36: info=$(file $_ls)) on openSUSE
> and Suse Linux Enterprise systems because:
Which openSUSE version are you using?
Does file -L h
This script:
/srv/fai/nfsroot/usr/lib/fai/check-cross-arch
fails (line 36: info=$(file $_ls)) on openSUSE
and Suse Linux Enterprise systems because:
/bin/ls is a symlink to /usr/bin/ls
Here is the section of code that fails:
# where is the ls command
if [ -f $target/bin/ls ]; then