I decided to see if I could update Liberte I have on a thumb drive by making a fresh build of 2012.3 with updated packages. Some of the naming conventions have changed so I had to edit some lines in the mkroot script to get things to work. I can get the build process over to the enter script but fails there and I'm stuck. Any ideas? I'm building on a new gentoo install with an intel chip.
The enter script makes it down to these lines before failing:
sinfo "Environment:"
echo "${environment}" | tr ' ' '\n' | sed 's/^/ /'
sinfo "Launching chrooted shell in ${LIVECD}"
set +e
env -i ${environment} "${setarch}" i686 "${chroot}" ${LIVECD} /bin/bash -l "$@"
retval=$?
if [ ${retval} != 0 ]; then
sinfo "Failed."
fi
I ran the script with bash debugging turned on and the line:
if [ ${retval} != 0 ]; then
sinfo "Failed"
{retval} returned 0 which should pass the test correct?
Installing packages
Mounting system directories
Environment:
LVERSION=2012.3
LOGNAME=root
USER=root
HOME=/root
HOSTNAME=liberte
LANG=en_US.utf8
TERM=xterm
PHASE=src
Launching chrooted shell in /tmp/livecd/src
>>> Regenerating /etc/ld.so.cache...
Setting a hardened profile
!!! Error: Too many parameters
exiting
I decided to see if I could update Liberte I have on a thumb drive by making a fresh build of 2012.3 with updated packages. Some of the naming conventions have changed so I had to edit some lines in the mkroot script to get things to work. I can get the build process over to the enter script but fails there and I'm stuck. Any ideas? I'm building on a new gentoo install with an intel chip.
The enter script makes it down to these lines before failing:
I ran the script with bash debugging turned on and the line: if [ ${retval} != 0 ]; then sinfo "Failed" {retval} returned 0 which should pass the test correct?