Skip to content

obs/slapos: fix perl @INC path.

Kazuhiko Shiozaki requested to merge fix_perl_inc_path into master

I found that include paths of slapos package's perl were wrong (i.e. /usr/src/packages/BUILD/SLAPOS/build should be removed).

~> /opt/slapos/parts/perl/bin/perl -e 'print @INC,"\n"'
/usr/src/packages/BUILD/slapos/build/opt/slapos/parts/site_perl/lib/site_perl/5.20.2/x86_64-linux-thread-multi/usr/src/packages/BUILD/slapos/build/opt/slapos/parts/site_perl/lib/site_perl/5.20.2/usr/src/packages/BUILD/slapos/build/opt/slapos/parts/perl/lib/5.20.2/x86_64-linux-thread-multi/usr/src/packages/BUILD/slapos/build/opt/slapos/parts/perl/lib/5.20.2.

I think that this MR fixes this issue but not so sure. Can you please verify it ?

/cc @alain.takoudjou @rafael

Merge request reports