am ende kommt kein image raus

Alles eine Frage des Images
Deas
Interessierter
Interessierter
Beiträge: 22
Registriert: Mittwoch 11. September 2002, 23:47

am ende kommt kein image raus

Beitrag von Deas »

hi!

ich habe unter vmware knoppix 3.3 vom 16.2.04 installiert. auschecken, etc. klappt alles wunderbar, und auch zum schluss sieht es (fast) gut aus - nur images kommen keine dabei raus. hier die letzten paar zeiles des log es.

---cut---
cd /root/yadi/dbox/cdkroot/lib/modules/2.4.25-dbox2; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /bin/true -ae -F System.map -b /root/yadi/dbox/cdkroot -r 2.4.25-dbox2; fi
make[1]: Leaving directory `/root/yadi/tuxbox-cvs/cdk/linux-2.4.25'
/root/yadi/dbox/cdk/bin/mkimage \
-n 'dbox2' -A ppc -O linux -T kernel -C gzip \
-a 00000000 -e 00000000 \
-d linux-2.4.25/arch/ppc/boot/images/vmlinux.gz \
/root/yadi/dbox/tftpboot/kernel-cdk
Image Name: dbox2
Created: Sat May 8 12:26:21 2004
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 610118 Bytes = 595.82 kB = 0.58 MB
Load Address: 0x00000000
Entry Point: 0x00000000
chmod 644 /root/yadi/dbox/tftpboot/kernel-cdk
/usr/bin/install -c -m644 linux-2.4.25/vmlinux /root/yadi/dbox/cdkroot/boot/vmlinux-2.4.25-dbox2
/usr/bin/install -c -m644 linux-2.4.25/System.map /root/yadi/dbox/cdkroot/boot/System.map-2.4.25-dbox2
touch .deps/linuxkernel
fakeroot: preload library not found, aborting.
fakeroot: preload library not found, aborting.
fakeroot: preload library not found, aborting.
fakeroot: preload library not found, aborting.
fakeroot: preload library not found, aborting.
cp: cannot stat `root.img': No such file or directory


Images erstellt!
Diese sollten sich jetzt in /root/yadi/images befinden.
---cut---

hab es jetzt schon 2x probiert - am ende steht jedoch immer das.

ich hoffe das mir da jemand helfen kann!

DANKE!!!!!!!!

mfg Deas
mogway
Semiprofi
Semiprofi
Beiträge: 1287
Registriert: Montag 30. Dezember 2002, 08:02

Beitrag von mogway »

Hi,

Fakeroot normal installieren.

jetzt das script /usr/bin/fakeroot anpassen:

Code: Alles auswählen

#!/bin/sh

# This script first starts faked (the daemon), and then it will run
# the requested program with fake root privileges.

usage () {
  echo >&2 "fakeroot, create a fake root environment."
  echo >&2 "   usage: fakeroot [-l|--lib fakerootlib] [-r|--faked fakedbin]"
  echo >&2 "                   [-i file] [-s file] [-u|--unknown-is-real]"
  echo >&2 "                   [--] [command]"
  exit 1
}

# strip /bin/fakeroot to find install prefix
BINDIR=`dirname $0`
PREFIX=`dirname ${BINDIR}`

LIB=libfakeroot.so.0
PATHS=${PREFIX}/lib/libfakeroot:${PREFIX}/lib64/libfakeroot
FAKED=${BINDIR}/faked
# hier folgendes einfügen; evtl den Pfad zur libfakeroot.so.0 anpassen !
LIB=/usr/local/lib/libfakeroot.so.0
PATHS=

Code: Alles auswählen

FAKED_MODE="unknown-is-root"
export FAKED_MODE

libfound=no

GETOPTEST=`getopt --version`
Ich hoffe das hilft :)

Gruss
mogway
Deas
Interessierter
Interessierter
Beiträge: 22
Registriert: Mittwoch 11. September 2002, 23:47

Beitrag von Deas »

hi!

es lag am fakeroot - ich hatte zuerst nur die datei von der yadi seite runtergeladen und reinkopiert. das ist aber zu wenig. habe dann gleich auf knoppix 3.4 upgedated und mit apt-get das fateroot richtig installiert und alles war gut.

danke für die hilfe!

mfg Deas
mfg Deas

-----------------
2 x Nokia 2xI SAT