Can I install debian-arm packages onto a debian sd-card using an x86_64 host system?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I need to write a script which will install some arm debian packages onto a debian sd-card. The script must run on an x86_64 debian desktop PC.



Can dpkg install packages, that are for a different architecture, onto a target filesystem?



What's the best way of doing this? A chroot, or something else?







share|improve this question




















  • Can you explain why you want the x86 host do that instead of the ARM system itself?
    – Philippos
    Feb 9 at 13:41










  • @Philippos This is for continuous integration running on an x86_64 server. It needs to be able to serve an up-to-date ARM SD card image, with the latest versions of in-house Debian packages installed.
    – fadedbee
    Feb 12 at 14:36






  • 1




    Our CI provides deb packages to the ARM system, which is running as jenkins client, executing the installation as part of the test setup. You can even use a build-in update mechanism of the system to test it at the same time. Anyhow, if that doesn't fit for you, you maybe want to use ELBE or just copy their qemu-based mechanism.
    – Philippos
    Feb 13 at 6:38














up vote
0
down vote

favorite












I need to write a script which will install some arm debian packages onto a debian sd-card. The script must run on an x86_64 debian desktop PC.



Can dpkg install packages, that are for a different architecture, onto a target filesystem?



What's the best way of doing this? A chroot, or something else?







share|improve this question




















  • Can you explain why you want the x86 host do that instead of the ARM system itself?
    – Philippos
    Feb 9 at 13:41










  • @Philippos This is for continuous integration running on an x86_64 server. It needs to be able to serve an up-to-date ARM SD card image, with the latest versions of in-house Debian packages installed.
    – fadedbee
    Feb 12 at 14:36






  • 1




    Our CI provides deb packages to the ARM system, which is running as jenkins client, executing the installation as part of the test setup. You can even use a build-in update mechanism of the system to test it at the same time. Anyhow, if that doesn't fit for you, you maybe want to use ELBE or just copy their qemu-based mechanism.
    – Philippos
    Feb 13 at 6:38












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I need to write a script which will install some arm debian packages onto a debian sd-card. The script must run on an x86_64 debian desktop PC.



Can dpkg install packages, that are for a different architecture, onto a target filesystem?



What's the best way of doing this? A chroot, or something else?







share|improve this question












I need to write a script which will install some arm debian packages onto a debian sd-card. The script must run on an x86_64 debian desktop PC.



Can dpkg install packages, that are for a different architecture, onto a target filesystem?



What's the best way of doing this? A chroot, or something else?









share|improve this question











share|improve this question




share|improve this question










asked Feb 9 at 10:36









fadedbee

22616




22616











  • Can you explain why you want the x86 host do that instead of the ARM system itself?
    – Philippos
    Feb 9 at 13:41










  • @Philippos This is for continuous integration running on an x86_64 server. It needs to be able to serve an up-to-date ARM SD card image, with the latest versions of in-house Debian packages installed.
    – fadedbee
    Feb 12 at 14:36






  • 1




    Our CI provides deb packages to the ARM system, which is running as jenkins client, executing the installation as part of the test setup. You can even use a build-in update mechanism of the system to test it at the same time. Anyhow, if that doesn't fit for you, you maybe want to use ELBE or just copy their qemu-based mechanism.
    – Philippos
    Feb 13 at 6:38
















  • Can you explain why you want the x86 host do that instead of the ARM system itself?
    – Philippos
    Feb 9 at 13:41










  • @Philippos This is for continuous integration running on an x86_64 server. It needs to be able to serve an up-to-date ARM SD card image, with the latest versions of in-house Debian packages installed.
    – fadedbee
    Feb 12 at 14:36






  • 1




    Our CI provides deb packages to the ARM system, which is running as jenkins client, executing the installation as part of the test setup. You can even use a build-in update mechanism of the system to test it at the same time. Anyhow, if that doesn't fit for you, you maybe want to use ELBE or just copy their qemu-based mechanism.
    – Philippos
    Feb 13 at 6:38















Can you explain why you want the x86 host do that instead of the ARM system itself?
– Philippos
Feb 9 at 13:41




Can you explain why you want the x86 host do that instead of the ARM system itself?
– Philippos
Feb 9 at 13:41












@Philippos This is for continuous integration running on an x86_64 server. It needs to be able to serve an up-to-date ARM SD card image, with the latest versions of in-house Debian packages installed.
– fadedbee
Feb 12 at 14:36




@Philippos This is for continuous integration running on an x86_64 server. It needs to be able to serve an up-to-date ARM SD card image, with the latest versions of in-house Debian packages installed.
– fadedbee
Feb 12 at 14:36




1




1




Our CI provides deb packages to the ARM system, which is running as jenkins client, executing the installation as part of the test setup. You can even use a build-in update mechanism of the system to test it at the same time. Anyhow, if that doesn't fit for you, you maybe want to use ELBE or just copy their qemu-based mechanism.
– Philippos
Feb 13 at 6:38




Our CI provides deb packages to the ARM system, which is running as jenkins client, executing the installation as part of the test setup. You can even use a build-in update mechanism of the system to test it at the same time. Anyhow, if that doesn't fit for you, you maybe want to use ELBE or just copy their qemu-based mechanism.
– Philippos
Feb 13 at 6:38










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I'd go for Virtualbox, I'm quite sure chroot is out of the question:



https://raspberrypi.stackexchange.com/questions/1177/how-to-run-raspbian-on-virtualbox#1192






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f423002%2fcan-i-install-debian-arm-packages-onto-a-debian-sd-card-using-an-x86-64-host-sys%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I'd go for Virtualbox, I'm quite sure chroot is out of the question:



    https://raspberrypi.stackexchange.com/questions/1177/how-to-run-raspbian-on-virtualbox#1192






    share|improve this answer
























      up vote
      0
      down vote













      I'd go for Virtualbox, I'm quite sure chroot is out of the question:



      https://raspberrypi.stackexchange.com/questions/1177/how-to-run-raspbian-on-virtualbox#1192






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        I'd go for Virtualbox, I'm quite sure chroot is out of the question:



        https://raspberrypi.stackexchange.com/questions/1177/how-to-run-raspbian-on-virtualbox#1192






        share|improve this answer












        I'd go for Virtualbox, I'm quite sure chroot is out of the question:



        https://raspberrypi.stackexchange.com/questions/1177/how-to-run-raspbian-on-virtualbox#1192







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 9 at 11:19









        Gerard H. Pille

        1,179212




        1,179212






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f423002%2fcan-i-install-debian-arm-packages-onto-a-debian-sd-card-using-an-x86-64-host-sys%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Running qemu-guest-agent on windows server 2008

            Christian Cage