-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Riscv #1460
Riscv #1460
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a duplicate of: https://github.com/kernelci/kernelci-core/pull/1401
Maybe you should rebase on my PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a duplicate of: #1398
Current version of systemd depends on libfdisk. This imply that future debian version will be unusuable if built and then cleaned of libfdisk. I hit this problem while working on having a RISCV debian rootfs based on sid. Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
When running kci_rootfs from a freshly built kernelci/debos docker, I got: /kci_rootfs --arch riscv64 -h Traceback (most recent call last): File "/kernelci-core/./kci_rootfs", line 23, in <module> import kernelci.rootfs File "/kernelci-core/kernelci/rootfs.py", line 20, in <module> from kernelci.storage import upload_files File "/kernelci-core/kernelci/storage.py", line 19, in <module> import requests ModuleNotFoundError: No module named 'requests' ./kci_rootfs --arch riscv64 Traceback (most recent call last): File "/kernelci-core/./kci_rootfs", line 24, in <module> import kernelci.config.rootfs File "/kernelci-core/kernelci/config/__init__.py", line 20, in <module> import yaml ModuleNotFoundError: No module named 'yaml' So lets adds missing python package. Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
This reverts commit 496880b. Debian support for riscv64 is not available in bullseye, but is in sid/debian-ports. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
In newer versions of debian, the update-initramfs script checks the kernel config (via /boot/config-<kernel version>) in order to determine how to compress the initial ramdisk. Without a valid kernel config entry, update-initramfs will refuse to generate an initramfs. KernelCI tooling is expecting gzip compressed ramdisk for the "min" ramdisk, so convince update-initramfs to use gzip by creating dummy kernel config for the "min" kernel before running update-initramfs. Tested with a riscv64-sid rootfs, and it generates a working ramdisk that can then pivot_root to a full debian rootfs. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
@mgalka can you have a look at this and let us know what else is needed to get sid-based rootfs generation going for riscv? |
1 similar comment
@mgalka can you have a look at this and let us know what else is needed to get sid-based rootfs generation going for riscv? |
FYI @atishp04 |
Rootfs build OK on staging. |
This pull request add support for having a riscV debian rootfs.