mkdesu / liberte

Liberté Linux, a live distribution serving as a communication aid in hostile environments.
https://mkdesu.github.io/liberte
82 stars 29 forks source link

build failure #20

Open sBl-mits opened 9 years ago

sBl-mits commented 9 years ago

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