GithubHelp home page GithubHelp logo

make iso error about vyos-pi-builder HOT 4 CLOSED

runborg avatar runborg commented on July 2, 2024
make iso error

from vyos-pi-builder.

Comments (4)

runborg avatar runborg commented on July 2, 2024

Hi stormanger! Could you please provide a pastebin with all commands executed and cli output from the complete build process?
as isolinux is x86 only it should be disabled in the build process when building on arm64

from vyos-pi-builder.

stormanger avatar stormanger commented on July 2, 2024

Hi, runborg,

Thanks for your help,
Follow is the pastebin: https://pastebin.com/fv0Kqg8T

I config the data/defaults.json file like that

# cat data/defaults.json
{
  "architecture": "arm64",
  "debian_mirror": "http://deb.debian.org/debian",
  "debian_security_mirror": "http://deb.debian.org/debian",
  "debian_distribution": "bullseye",
  "vyos_mirror": "http://dev.packages.vyos.net/repositories/current",
  "vyos_branch": "current",
  "kernel_version": "5.10.105",
  "kernel_flavor": "v8-arm64-vyos",
  "release_train": "sagitta",
  "bootloaders": "syslinux,grub-efi",
  "additional_repositories": [
        "deb [arch=arm64] http://repo.powerdns.com/debian bullseye-rec-45 main",
        "deb [arch=arm64] https://repos.influxdata.com/debian bullseye stable"
  ],
  "custom_packages": []
}

My commands is:
./configure --architecture arm64
make iso

from vyos-pi-builder.

runborg avatar runborg commented on July 2, 2024

For the first, when you post an issue related to my code i suspect the issue should be related to my code or some code used in it. As it seems for me you are not using the code in this repository at all..

But, back to your issue... For the first, there is a perfectly fine json for building on arm64 in the vyos/vyos-build repository itself. it is also used in this repository to build. take a look in my build-image.sh for more information.
To use this json, do these build instructions: (these instructions are buildable on a unmodified vyos-build repository)

VYOS_BUILD_FLAVOR=data/generic-arm64.json ./configure
make iso

The specific issue you are experiensing is because of this line: "bootloaders": "syslinux,grub-efi", this line specifies that you should build the image with syslinux, but as syslinux is x86 only this will not work and xorriso fails because of this. look in the vyos-build/dara/generic-arm64.json for a working list of bootloaders..

from vyos-pi-builder.

stormanger avatar stormanger commented on July 2, 2024

Hi, runborg,

Thanks for your help,
I just referenced some of your practices, which gave me a lot of inspiration;
I have re-tested your code and it works fine;

Thanks for your help!
Best wishes

from vyos-pi-builder.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.