[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cross packaging issues with module-assistant



Trent W. Buck wrote:
> If you have sh code to find what argument to pass to m-a within the
> chroot, I'm interested; currently I'm just hard-coding it in my call
> to m-a.

something like...

...this inside a chroot hook:

for KERNEL in /boot/vmlinuz-*
do
	VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"

	m-a a-i foo -l ${VERSION}
done

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann at panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: