getqemuinterpreters function in bs_repserver
Hi, I'm playing around with qemu crossbuild for aarch64, or better trying to get it to work, but that would be another mail. During reading the code I found this "getqemuinterpreters" function in the bs_repserver code: ### # # OBSOLETE: qemu shall be installed into the target system # FIXME3.0: remove this # if there is a qemu dir in OBS backend install dir workers load qemu from OBS backend serverq # this is similiar to the rest of build script code # if that does also not exist, workers copy qemu from worker local installed qemu # sub getqemuinterpreters { my @send; for my $file (grep {!/^\./} ls('qemu')) { next unless -f "qemu/$file"; push @send, {'name' => $file, 'filename' => "qemu/$file"}; } return @send; } ### I can not find documentation what has to be deployed in the qemu/ directory that the qemu from there is used instead of the installed versions. Can you give me a hint? Thanks, Christian -- Christian Schneemann Linux Consultant & Trainer Tel.: +49-175-7250665 Mail: schneemann@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Zitat von Christian Schneemann
Hi,
I'm playing around with qemu crossbuild for aarch64, or better trying to get it to work, but that would be another mail.
During reading the code I found this "getqemuinterpreters" function in the bs_repserver code: ### # # OBSOLETE: qemu shall be installed into the target system # FIXME3.0: remove this # if there is a qemu dir in OBS backend install dir workers load qemu from OBS backend serverq # this is similiar to the rest of build script code # if that does also not exist, workers copy qemu from worker local installed qemu # sub getqemuinterpreters { my @send; for my $file (grep {!/^\./} ls('qemu')) { next unless -f "qemu/$file"; push @send, {'name' => $file, 'filename' => "qemu/$file"}; } return @send; } ###
I can not find documentation what has to be deployed in the qemu/ directory that the qemu from there is used instead of the installed versions. Can you give me a hint?
After sleeping a night.. Are the qemu-binaries (static linked) enough? Would you recommend a special source with a qemu-version containing all needed features for crossbuilding? Thanks, Christian
Thanks, Christian
-- Christian Schneemann Linux Consultant & Trainer Tel.: +49-175-7250665 Mail: schneemann@b1-systems.de
B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-- Christian Schneemann Linux Consultant & Developer Tel: +491757250665 Mail: schneemann@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
For (emulated) building with qemu-linux-user you can take a look at openSUSE:Factory:RISCV for a working example. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
participants (2)
-
Andreas Schwab
-
Christian Schneemann