Skip to contentSkip to conversation

Problem while generating rootfs with package_ipk

DISCUSSION embedded.yogesh 2 participants 2 messages Mar 14, 2011 – Mar 15, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

While generating rootfs with

MACHINE ?= "atom-pc"
/PACKAGE_CLASSES ?= "package_ipk"/
Host machine "Linux xxx-desktop 2.6.32-28-generic-pae #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011 i686 GNU/Linux"

Got following error :-

| Configuring xhost.

| Configuring wireless-tools.

| Configuring libxss1.

| Collected errors:

| * extract_archive: Cannot create symlink from ./var/log to 'volatile/log': File exists.

| * extract_archive: Cannot create symlink from ./var/cache to 'volatile/cache': File exists.

| * extract_archive: Cannot create symlink from ./var/run to 'volatile/run': File exists.

| + '[' '!' -z '' ']'

| + export D=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + D=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + export OFFLINE_ROOT=/home/ylal/logi/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + export IPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + IPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + export OPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + OPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + ipk_insert_feed_uris

| + echo 'Building from feeds activated!'

| Building from feeds activated!

Thanks
Yogesh

#1 lore raw

Hi Yogesh,

There is rootfs_ipk bug(http://bugzilla.pokylinux.org/show_bug.cgi?id=870), but your problem seems irrelevant. I don't think the poky-image-minimal includes libxss1 packages, have you added anything into poky-image-minimal?

Best Regards,
Lianhao

From: [email protected] [mailto:[email protected]] On Behalf Of embedded.yogesh
Sent: Monday, March 14, 2011 1:28 PM
To: [email protected]
Subject: [poky] Problem while generating rootfs with package_ipk

Hi,

While generating rootfs with

MACHINE ?= "atom-pc"
PACKAGE_CLASSES ?= "package_ipk"
Host machine "Linux xxx-desktop 2.6.32-28-generic-pae #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011 i686 GNU/Linux"

Got following error :-

| Configuring xhost.

| Configuring wireless-tools.

| Configuring libxss1.

| Collected errors:

| * extract_archive: Cannot create symlink from ./var/log to 'volatile/log': File exists.

| * extract_archive: Cannot create symlink from ./var/cache to 'volatile/cache': File exists.

| * extract_archive: Cannot create symlink from ./var/run to 'volatile/run': File exists.

| + '[' '!' -z '' ']'

| + export D=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + D=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + export OFFLINE_ROOT=/home/ylal/logi/poky-chrome/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + export IPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + IPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + export OPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + OPKG_OFFLINE_ROOT=/home/ylal/logi/poky/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-logi-1.0-r0/rootfs

| + ipk_insert_feed_uris

| + echo 'Building from feeds activated!'

| Building from feeds activated!

Thanks
Yogesh