Modify

Opened 3 years ago

Last modified 3 years ago

#18074 new defect

BB does not generated x86/domU images

Reported by: luizluca@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Barrier Breaker 14.07
Keywords: Cc:

Description

Hello,

For target x86/xen_domU, BB and trunk does not configure CONFIG_TARGET_ROOTFS_* by default. So, there is no img created, only the kernel and packages.

If I download imagebuilder and modify .config manually, I can generate an img without problems.

--- .config.orig        2014-10-08 17:44:24.281798495 -0300
+++ .config     2014-10-08 17:54:06.661524297 -0300
@@ -87,7 +87,19 @@
 #
 # Root filesystem images
 #
-# CONFIG_TARGET_ROOTFS_EXT4FS is not set
+CONFIG_TARGET_ROOTFS_EXT4FS=y
+CONFIG_TARGET_EXT4_MAXINODE=6000
+CONFIG_TARGET_EXT4_RESERVED_PCT=0
+CONFIG_TARGET_EXT4_BLOCKSIZE_4K=y
+# CONFIG_TARGET_EXT4_BLOCKSIZE_2K is not set
+# CONFIG_TARGET_EXT4_BLOCKSIZE_1K is not set
+CONFIG_TARGET_EXT4_BLOCKSIZE=4096
+CONFIG_GRUB_IMAGES=y
+CONFIG_GRUB_CONSOLE=y
+CONFIG_GRUB_SERIAL="ttyS0"
+CONFIG_GRUB_BAUDRATE=38400
+CONFIG_GRUB_BOOTOPTS=""
+CONFIG_GRUB_TIMEOUT="5"
 # CONFIG_TARGET_ROOTFS_JFFS2 is not set
 # CONFIG_TARGET_ROOTFS_SQUASHFS is not set
 CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y
@@ -98,6 +110,10 @@
 #
 # Image Options
 #
+CONFIG_TARGET_KERNEL_PARTSIZE=4
+CONFIG_TARGET_ROOTFS_PARTSIZE=48
+CONFIG_TARGET_ROOTFS_PARTNAME="/dev/sda2"
+# CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL is not set
 CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE=y
 CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE=y
 CONFIG_TARGET_ROOTFS_INCLUDE_FIT=y

Please, add img generation for x86/xen_domU by default just like x86/default target.

I would be nice to have these files provided in current BB download tree.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by luizluca@…

Just a mistake. Rootfs should use xvda:

+CONFIG_TARGET_ROOTFS_PARTNAME="/dev/xvda2"

comment:2 Changed 3 years ago by luizluca@…

This simple commit might fix this bug on CC and trunk

https://patchwork.ozlabs.org/patch/484153/

comment:3 Changed 3 years ago by luizluca@…

Fixed by @46233

Please, close.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.