-
Notifications
You must be signed in to change notification settings - Fork 143
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-initramfs-image default password #488
Comments
Can you try this for the bb file # will be used for the update image
DESCRIPTION = "initramfs updater image"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
# Do not pollute the initrd image with rootfs features
IMAGE_FEATURES = ""
# Clear image depends on some machines e.g. riscv opensbi is in EXTRA_IMAGEDEPENDS
# which can cause dependency loops
EXTRA_IMAGEDEPENDS = ""
IMAGE_NAME_SUFFIX = ""
export IMAGE_BASENAME = "riscv-initramfs-image"
IMAGE_LINGUAS = ""
PACKAGE_INSTALL = "\
base-files \
base-passwd \
busybox \
mtd-utils \
mtd-utils-ubifs \
e2fsprogs \
e2fsprogs-mke2fs \
e2fsprogs-e2fsck \
e2fsprogs-tune2fs \
util-linux-fsck \
util-linux-fdisk \
"
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
# Check conf/site.conf where there is IMAGE_FSTYPES:append
# if that value changes make the change here as well
IMAGE_FSTYPES:remove = "wic.* wic.xz wic.bmap tar.xz"
inherit core-image
IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt"
IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
BAD_RECOMMENDATIONS += "busybox-syslog busybox-udhcpc"
|
@kraj, thanks! I made an attempt and encountered this error.
|
Perhaps some more options are needed for busybox - see https://github.com/YoeDistro/yoe-distro/blob/master/sources/meta-yoe/recipes-core/busybox/busybox/yoe_fragment.cfg You can define busybox_%.bbappend in meta-riscv like this btw. you only need
in local.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi developers,
I've built
riscv-initramfs-image
provided by meta-riscv and added the variables in local.confit successfully launched login prompt using busybox init. But it asks password for
root
, Am I missing something?I've also checked
EXTRA_IMAGE_FEATURES = "debug-tweaks"
specified in my local.confThe text was updated successfully, but these errors were encountered: