[elbe-devel] Getting arbitrary files from a project using 'elbe initvm'

Lukasz Walewski lwalewski at s-can.at
Wed Mar 22 15:39:35 CET 2017


>On Wed, Mar 22, 2017 at 13:27, Torben Hohn wrote:
>> >On Tue, Mar 21, 2017 at 05:00:06PM +0000, Lukasz Walewski wrote:
>>
>> I conclude from your question that there should be no need to extract
>the kernel and initramfs from the initvm in addition to the RFS itself.
>Could you please suggest a better solution for my setup?
>
>We normally build complete hd images with elbe.

We also build a complete image, it is the bootloader that needs the kernel and the initramfs as separate files before it can mount the RFS image.

>But we only support grub there.

I see... however, in my case switching from extlinux to grub at the current stage would cost a lot of work, which is not covered in the project's budget.

The patch would be very welcome as it would save me exercises like this one:

    linux_ver=$(grep linux-image ${build_name}.xml | sed -e 's/.*<pkg>//' -e 's/linux-image-//' -e 's/<\/pkg>.*//')
    rm -rf ${build_name}/target
    mkdir -p ${build_name}/target/boot
    elbe control get_file --output $build_name $build_dir target/boot/vmlinuz-${linux_ver}

Best,
Lukasz



----------------------------------------

scan Messtechnik GmbH
Brigittagasse 22-24
A-1200 Wien/Vienna
tel. +43 1 219 73 93 - 0
fax +43 1 219 73 93 - 12
http://www.s-can.at
office at s-can.at

Geschaeftsfuehrer/President: DI Andreas Weingartner
Firmenbuchnummer/Incorporation No: FN178880i
Gerichtsstand/Court of Jurisdiction: Wien/Vienna

----------------------------------------

s::can - intelligent, optical, online

i::scan - compact, precise and affordable!
UV254::NTU::FTU::TOC::DOC::COD::BOD::Colour ...and many more to come!
http://www.i-scan.at
----------------------------------------
"YES WE SCAN !"




More information about the elbe-devel mailing list