#18074: BB does not generated x86/domU images
-------------------------+-----------------------------------
 Reporter:  luizluca@…   |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Barrier Breaker 14.07
Component:  base system  |    Version:  Barrier Breaker 14.07
 Keywords:               |
-------------------------+-----------------------------------
 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.

--
Ticket URL: <https://dev.openwrt.org/ticket/18074>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to