Welcome, Guest
Username: Password: Remember me

TOPIC: Unknow operating system

Unknow operating system 4 years 6 months ago #10368

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Snarf,

When pwr56 is installed, the user pwrp is created, a .bashrc file is copied to /home/pwrp and the line "source $pwra_db/pwr_setup.sh" is added at the end of .bashrc. Thus if you login as user pwrp, 'sdf' should be defined. For any other user you have to add pwr_setup.sh to .bashrc.

/Claes
The administrator has disabled public write access.

Unknow operating system 4 years 6 months ago #10369

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
OK I will check.
I have already created pwrp user because I usually declare this user when installing ubuntu.
Perhaps this created the confusion ?
The administrator has disabled public write access.

Unknow operating system 4 years 6 months ago #10370

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
OK this line was definitely missing in my .bashrc
Adding it by hand fixed the issue.
Any idea what could prevent proview to add this to an existing bashrc ?
All my installation running ubuntu 16.04 + proview 5.5 were also created this way from memories and it didn't cause any issue as far as I can remember

Anyway this works so I will keep on going with installing pwrppi package and retry my custom cross compile build

Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 6 months ago #10371

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
All good,
package installed and project built without issue for arm.
I double checked and I have this time a second wb_gcg.sh in /usr/pwr56/os_linux/hw_arm/...
Don't know why it was missing before although pwrppi package has been installed

Perhaps some missing path due the $pwra_db/pwr_setup.sh not being source previously ?

Anyway, I have enough to start working so thank you all but I still dont understand what went wrong in my install process

Snarf
The administrator has disabled public write access.

Unknow operating system 4 years 6 months ago #10372

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
If the pwrp user already exist when pwr56 is installed, the .bashrc file is not changed. So if create the pwrp user before the installation you have to add pwr_setup.sh manually.

/Claes
The administrator has disabled public write access.

Unknow operating system 4 years 6 months ago #10377

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
OK Claes,
if this is the expected behavior I'm OK and I will add this to my internal procedure.
Strange I did'nt notice this before
Thank you
The administrator has disabled public write access.
Time to create page: 7.889 seconds