On Sat, Jun 28, 2008 at 08:35:07PM +0000, Cory Burgett <[EMAIL PROTECTED]> 
wrote:
> @@ -189,7 +193,8 @@ initrd: install-setup
>       mount -o loop -t ext2 initrd-$(CARCH).img i
>       cp -a $(MDIR)/* i/
>       chown -R root.root i/
> -     umount initrd-$(CARCH).img
> +#    umount initrd-$(CARCH).img
> +     umount i
>       rmdir i
>  
>  initrd_gz: clean config.mak devices initrd

you can just remove #, version control takes care of history.

> @@ -272,7 +277,7 @@ check:
>       done
>  
>  qemu:
> -     $(QEMU) -kernel vmlinuz-$(KERNELV)-fw$(KERNELREL)-$(CARCH) -initrd \
> +     $(QEMU) -net nic,vlan=1 -net user,vlan=1 -kernel 
> vmlinuz-$(KERNELV)-fw$(KERNELREL)-$(CARCH) -initrd \
>       initrd-$(CARCH).img -append "$(KERNEL_OPTS)" $(QEMU_OPTS)

this is just your local config, not related to debug. use

make QEMU_OPTS="-hda ~/documents/qemu/hda.img -net nic,vlan=1 -net user,vlan=1"

> +#!/bin/sh
> +
> +echo -n "Preparing valgrind..."
> +mount -t proc none /proc
> +mount -t sysfs none /sys
> +mount -t tmpfs none /tmp
> +/etc/rc.d/rc.udev
> +
> +echo " OK. Starting setup..."
> +/usr/bin/valgrind /bin/setup
> +

isn't this too much?

setup does this already. gdb needs iirc /proc, but running rc.udev twice
is definitely an overkill.

the rest looks fine.

Attachment: pgp3OiyfxV6te.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to