Giter Site home page Giter Site logo

bfb-build's People

Contributors

vladsokolovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bfb-build's Issues

cryptsetup: ERROR: Couldn't resolve device overlay

Hello team,

I am trying build through branch DOCA_1.5.1_BSP_3.9.3_Ubuntu_20.04 in an arm64 environment, build command is IMAGE_TYPE=prod ./bfb-build ubuntu 20.04
However, it ends with the error:

Step 70/70 : CMD ["/root/workspace/create_bfb", "-k", "5.15.0-1003.28.ga8d758d-bluefield"]
 ---> Running in 77d8938543f8
Removing intermediate container 77d8938543f8
 ---> a6822ec69016
Successfully built a6822ec69016
Successfully tagged bfb_runtime_ubuntu22.04:latest
Work directory: /root/workspace/bfb
update-initramfs: Generating /boot/initrd.img-5.15.0-1003.28.ga8d758d-bluefield
cryptsetup: ERROR: Couldn't resolve device overlay
cryptsetup: WARNING: Couldn't determine root device
W: Couldn't identify type of root file system for fsck hook
mkdir -p /root/workspace/bfb
cd /root/workspace/bfb
rm -rf initramfs
Rebuilding /root/workspace/bfb/dump-initramfs-v0
99863 blocks
mkdir -p ubuntu
xz: (stdin): Cannot allocate memory
tar: ./ubuntu/image.tar.xz: Cannot write: Broken pipe
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Could anyone give it a quick look? Thanks.
Also wondering if crysetup is necessary, can we just disable it?

RHEL9-based images

Could you add an option to build a RHEL9 image? RHEL9 itself would be our preference, but a RHEL9-compatible image like Rocky 9 or Alma 9 would probably work for us, too.

Install customer kernel and rebuild OFED failed

After installed customer kernel, download MLNX_OFED_SRC-5.6-1.0.3.3.tgz and build followed the guide, run into failures

  1. iser-5.6 rebuild failed
    Processing files: iser-5.6-OFED.5.6.1.0.1.1.kver.4.19.0_1.0.1.6.aarch64
    error: File not found by glob: /var/tmp/OFED_topdir/BUILDROOT/iser-5.6-OFED.5.6.1.0.1.1.aarch64/etc/depmod.d/zz02-iser-*.conf

  2. need to add Note for CentOS: To build kernel RPM while running ARM container on x86_64 need to disable kernel's debuginfo package:
    cat > /root/.rpmmacros <<EOF
    %debug_package %{nil}
    %with_debuginfo 0
    %__debug_install_post %{nil}
    EOF

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.