add_package_user fails when moving lfs-7.0-rc1 from new to old pc
hello
I have just compiled the 7.0-rc1 release on my fast computer. I added package users and DESTDIR-style package management using my own package manager. I'm also using bsd-init scripts. LFS runs well on my fast computer trough chroot. So I decided to copy LFS to my old computer. That one boots to. When I try to add a package user on my old computer, i get the following error: Code:
root@jelle_pentium2 ~ # addpkguser htop htop I compiled everything on a box running slackware-13.37 Code:
jelle@jelle-desktop ~ $ uname -a Code:
root@jelle_pentium2 ~ # uname -a |
Try
Quote:
|
the script fails at the command
Code:
expr ${minuid} + 1 2> /dev/null 1>&2 phenom Code:
root@jelle-desktop / # expr 10000 + 1 Code:
root@jelle-pentium2 / # expr 10000 + 1 Also, I assumed that my pentium and my phenom use the same 32-bit instruction set (i686). Am I wrong in this? |
Quote:
|
I copied expr from slackware to my lfs system and everything works again. currently compiling gmp and coreutils again. I hope this solves the problem, because compiling is slow without -j6.
|
recompiling gmp and coreutils solved the problem
|
Kind of off topic, but if you want to use '*' with 'expr' you must escape it first:
Code:
# expr 25 \* 3 |
Quote:
|
All times are GMT -5. The time now is 02:05 AM. |