Code Monkey home page Code Monkey logo

Comments (6)

jlebon avatar jlebon commented on August 16, 2024 1

Don't fetch and build in --strict mode. Alternatively, see the steps in https://github.com/coreos/fedora-coreos-config?tab=readme-ov-file#adding-packages-to-the-os.

Another alternative is to build a custom container image instead. See the examples at https://github.com/coreos/layering-examples.

from fedora-coreos-config.

dustymabe avatar dustymabe commented on August 16, 2024

I think you would have to add an entry to your lockfiles since the coreos-pool is a lockfile-repos entry.

from fedora-coreos-config.

sergeiwaigant avatar sergeiwaigant commented on August 16, 2024

Thank you for the hint.
Is there a documentation of what this lock file is about?

from fedora-coreos-config.

sergeiwaigant avatar sergeiwaigant commented on August 16, 2024

Ok. I think I've understood it now and will test it later today with resolution for others to have an example how to get this package in the Image.

from fedora-coreos-config.

sergeiwaigant avatar sergeiwaigant commented on August 16, 2024

however I tried it, its throwing the error...
I dont understand the correct way of how to simply add another package to the image... :(

rpm-ostree version: 2024.6
No previous commit for fedora/x86_64/coreos/stable
Enabled rpm-md repositories: fedora-coreos-pool
Updating metadata for 'fedora-coreos-pool'... done
Importing rpm-md... done
rpm-md repo 'fedora-coreos-pool'; generated: 2024-06-08T23:27:42Z solvables: 34998
warning: Couldn't find locked package 'qemu-guest-agent-8.2.2-1.fc40.x86_64'
  Packages matching NEVRA: 0; Mismatched checksums: 0
  Packages matching name and arch (19):
  qemu-guest-agent-2:8.1.0-0.1.rc4.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.0-1.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.1-1.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.3-1.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.3-2.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.3-3.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.3-4.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.1.3-5.fc39.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.0-2.fc40.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.0-6.fc40.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.0-7.fc40.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.0-8.fc40.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.0-8.fc41.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.0-9.fc41.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.2-1.fc40.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.2-1.fc41.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:8.2.2-2.fc41.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:9.0.0-0.1.rc4.fc41.x86_64 (fedora-coreos-pool)
  qemu-guest-agent-2:9.0.0-1.fc41.x86_64 (fedora-coreos-pool)

from fedora-coreos-config.

sergeiwaigant avatar sergeiwaigant commented on August 16, 2024

Even after adding "qemu-guest-agent": {"evra": "2:8.2.2-1.fc40.x86_64","metadata": {"sourcerpm": "gemu-guest-agent"}}, to the fcos/src/config/manifest-lock.x86_64.json file fetch is failing with

rpm-ostree version: 2024.6
No previous commit for fedora/x86_64/coreos/stable
Enabled rpm-md repositories: fedora-coreos-pool
Updating metadata for 'fedora-coreos-pool'... done
Importing rpm-md... done
rpm-md repo 'fedora-coreos-pool'; generated: 2024-06-08T23:27:42Z solvables: 34998
Resolving dependencies... done
error: Installing packages: Could not depsolve transaction; 1 problem detected:
 Problem: conflicting requests
  - nothing provides liburing.so.2()(64bit) needed by qemu-guest-agent-2:8.2.2-1.fc40.x86_64 from fedora-coreos-pool
  - nothing provides liburing.so.2(LIBURING_2.0)(64bit) needed by qemu-guest-agent-2:8.2.2-1.fc40.x86_64 from fedora-coreos-pool
failed to execute cmd-fetch: exit status 1

from fedora-coreos-config.

Related Issues (20)

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.