NetBSD Release bauen

crotchmaster

happy BSD user
Hallo,

ich versuche hier vergeblich eine eigene Release zu bauen. Ich bekomme immer folgende Fehlermeldung vor den Latz geknallt.

Code:
exiting
/usr/src/tools/obj/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-nm netbsd.RESCUE_SMALL | gzip -9 > netbsd.RESCUE_SMALL.symbols.gz
/usr/src/tools/obj/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-strip netbsd.RESCUE_SMALL
rm -f netbsd.RESCUE_SMALL.gz
gzip -9c netbsd.RESCUE_SMALL > netbsd.RESCUE_SMALL.gz
mdsetimage: /usr/src/obj/sys/arch/i386/compile/INSTALL_TINY/netbsd
       with: /usr/src/distrib/i386/floppies/ramdisk-rescuetiny/obj/ramdisk-rescuetiny.fs
        into: netbsd.RESCUE_TINY /usr/src/tools/obj/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-mdsetimage -v netbsd.RESCUE_TINY /usr/src/distrib/i386/floppies/ramdisk-rescuetiny/obj/ramdisk-rescuetiny.fs
got symbols from netbsd.RESCUE_TINY
mapped netbsd.RESCUE_TINY
copying image from /usr/src/distrib/i386/floppies/ramdisk-rescuetiny/obj/ramdisk-rescuetiny.fs into netbsd.RESCUE_TINY
done copying image
exiting
/usr/src/tools/obj/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-nm netbsd.RESCUE_TINY | gzip -9 > netbsd.RESCUE_TINY.symbols.gz
/usr/src/tools/obj/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-strip netbsd.RESCUE_TINY
rm -f netbsd.RESCUE_TINY.gz
gzip -9c netbsd.RESCUE_TINY > netbsd.RESCUE_TINY.gz  
all ===> i386/floppies/bootfloppy
Copying /var/fileserver/netbsd/destdir/usr/mdec/biosboot.sym to boot
Copying /usr/src/distrib/i386/floppies/kernel-ramdisk/obj/netbsd.INSTALL.gz to netbsd
Creating boot1.fs from: boot  netbsd
PAX=/usr/src/tools/obj/tools.NetBSD-1.6.2-i386/bin/nbpax sh /usr/src/distrib/common/buildfloppies.sh  -i "/var/fileserver/netbsd/destdir/usr/mdec/installboot -b 17 -f /var/fileserver/netbsd/destdir/usr/mdec/biosboot.sym @IMAGE@"   -m 2 -s .fs  boot 2880 boot  netbsd
Running instboot: /var/fileserver/netbsd/destdir/usr/mdec/installboot -b 17 -f /var/fileserver/netbsd/destdir/usr/mdec/biosboot.sym floppy.18851.tar
eval: /var/fileserver/netbsd/destdir/usr/mdec/installboot: permission denied
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/i386/floppies/bootfloppy
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/i386/floppies
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/i386
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc
*** Error code 1

Stop.
nbmake: stopped in /usr/src

Anwerfen tue ich das ganze mit
Code:
 ./build.sh -d -D /var/fileserver/netbsd/destdir -R /var/fileserver/netbsd/releasedir

meine /etc/mk.conf sieht wie folgt aus:

Code:
DESTDIR=/var/fileserver/netbsd/destdir
RELEASEDIR=/var/fileserver/netbsd/releasedir
BSDOBJDIR=/usr/obj  MKOBJ=YES
ACCEPTABLE_LICENSES+=fee-based-commercial-use
USE_PAM=defined  USE_CUPS=YES
SAMBA_USE_LDAP=YES  USE_LDAP=YES
ACCEPTABLE_LICENSES+=no-profit

Wie immer bin ich für jeden Tipp dankbar.

Gruß crotchmaster
 
Code:
eval: /var/fileserver/netbsd/destdir/usr/mdec/installboot: permission denied

Überprüfe deine Rechte.

Wo ist denn die SUDO-Angabe in der /etc/mk.conf, wenn du nicht root bist, aber trotzdem ein System zusammenbasteln willst?

Grüße

CW
 
Hallo CW,

Danke ersteinmal für Deine Antwort. Ich habe das ganze als root gebaut (su -l), bzw. versucht. ;)

Das wundert mich ja gerade daran, wenn nicht root, wer dann?

Gruß crotchmaster
 
Original geschrieben von crotchmaster
Hallo CW,

Danke ersteinmal für Deine Antwort. Ich habe das ganze als root gebaut (su -l), bzw. versucht. ;)

Das wundert mich ja gerade daran, wenn nicht root, wer dann?

Gruß crotchmaster

Vesuche es mal mit sudo, da ich su noch nie angewandt habe (zumindest, wenns ums Kernel-Kompilieren geht) und ich dir auch dabei nicht helfen kann.

Man kann bei so einem Problem nur noch rumprobieren, da
es keine "gesunde" Erklärung für dieses gibt.

Grüße

CW
 
Hallo CW,

habe mich jetzt mal lokal als root angemeldet. Ich habe auch vorher nochmal die Sourcen aktualisiert. Aber es kommt genau der gleiche Fehler. ;'(

Ich bin mit meinem Latein am Ende.

Gruß c.
 
Zurück
Oben