You are not logged in.

#1 2016-07-07 14:03:57

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Why are we missing qemu-debootstrap?

I'm playing with a couple of scripts which use qemu-debootstrap do bootstrap a Debian system on an ARM device.

But the Arch Linux packages don't ship the executable, neither debootstrap nor qemu-user-static.

Can I get the executable from any other package I've missed?

Offline

#2 2016-07-07 14:08:29

Durden
Member
Registered: 2011-06-19
Posts: 261

Re: Why are we missing qemu-debootstrap?

Offline

#3 2016-07-07 14:11:13

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Re: Why are we missing qemu-debootstrap?

That's not qemu-debootstrap...

Offline

#4 2016-07-07 15:13:01

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Why are we missing qemu-debootstrap?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2016-07-07 15:21:09

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Re: Why are we missing qemu-debootstrap?

https://github.com/dderby/debian900/issues/27

But simply copying a script is the last-resort, I'd rather use my package manager for this.

Last edited by marmistrz (2016-07-07 15:24:03)

Offline

#6 2016-07-07 20:43:54

pypi
Wiki Maintainer
Registered: 2014-04-22
Posts: 250

Re: Why are we missing qemu-debootstrap?

See the AUR archive:

debootstrap
qemu-debootstrap

You could, of course, write the PKGBUILDs yourself - they seem fairly trivial.

Offline

#7 2016-07-11 08:18:27

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Re: Why are we missing qemu-debootstrap?

Thanks,
Why is qemu-deboostrap in the AUR mirror and not in aur itself?

And it's not that easy, I get an infinite streak of debootstrap calls, adding --foreign in each try:

I: Running command: debootstrap --arch armhf --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --foreign --variant=minbase --include=kmod,udev,initramfs-tools,netbase,net-tools,iputils-ping,locales,keyboard-configuration,console-setup,console-common,acpid,acpi-support-base,u-boot-tools,patch,wget,vim,connman,man-db,apt-utils,ifupdown,wireless-tools,iw,wpasupplicant,mtd-utils,whiptail,pm-utils,bluez,openssh-server,rsyslog,xorg,xserver-xorg-video-fbdev,xserver-xorg-video-omap,xinput-calibrator jessie /mnt http://httpredir.debian.org/debian/

/edit: something weird is in my fs, I'll have to check a thing or two.

Last edited by marmistrz (2016-07-11 08:48:26)

Offline

#8 2016-07-11 09:16:44

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: Why are we missing qemu-debootstrap?

Offline

#9 2016-07-11 09:19:41

marmistrz
Member
Registered: 2016-01-05
Posts: 110

Re: Why are we missing qemu-debootstrap?

Awebb wrote:

See post #5

Offline

#10 2016-07-11 09:53:13

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: Why are we missing qemu-debootstrap?

marmistrz wrote:
Awebb wrote:

See post #5

Write a PKGBUILD, that depends on debootstrap and sets a symlink to qemu-debootstrap. If I'm not entirely mistaken this a) solves the problem of absence of qemu-debootstrap and b) satisfies your wish to manage it with the package management. You could also ask the maintainer of the debootstrap package to add the symlink himself and probably add qemu (or whatever in between) as an optional dependency, which would be appropriately done via email at the maintainer or (even better) at the AUR mailing list (main page, on the right, find "Mailing Lists"), where people can first discuss your idea, to exclude any possible hiccups with the symlink.

Offline

Board footer

Powered by FluxBB