Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Minor and trivial fixes
@ 2011-10-02 18:15 Otavio Salvador
  2011-10-02 18:15 ` [PATCH 1/3] image.bbclass: improve comments regarding exported functions Otavio Salvador
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Otavio Salvador @ 2011-10-02 18:15 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit c54c1280fc0d06a53e23339c3913ec88eead13d9:

  base.bbclass: Drop unneeded dependency (2011-09-30 11:34:44 +0100)

are available in the git repository at:
  git://github.com/OSSystems/oe-core master
  https://github.com/OSSystems/oe-core/tree/HEAD

Otavio Salvador (3):
  image.bbclass: improve comments regarding exported functions
  image-live.bbclass: allow images to override ROOTFS and INITRD
  bootimg.bbclass: fix comment typo

 meta/classes/bootimg.bbclass    |    2 +-
 meta/classes/image-live.bbclass |    4 ++--
 meta/classes/image.bbclass      |    5 +----
 3 files changed, 4 insertions(+), 7 deletions(-)

-- 
1.7.2.5




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] image.bbclass: improve comments regarding exported functions
  2011-10-02 18:15 [PATCH 0/3] Minor and trivial fixes Otavio Salvador
@ 2011-10-02 18:15 ` Otavio Salvador
  2011-10-02 18:15 ` [PATCH 2/3] image-live.bbclass: allow images to override ROOTFS and INITRD Otavio Salvador
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2011-10-02 18:15 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/classes/image.bbclass |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index f17e989..0b75dce 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -254,9 +254,8 @@ multilib_sanity_check() {
   echo $@ | python ${MULTILIB_CHECK_FILE}
 }
 
-# set '*' as the rootpassword so the images
+# set '*' as the root password so the images
 # can decide if they want it or not
-
 zap_root_password () {
 	sed 's%^root:[^:]*:%root:*:%' < ${IMAGE_ROOTFS}/etc/passwd >${IMAGE_ROOTFS}/etc/passwd.new
 	mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd
@@ -314,8 +313,6 @@ rootfs_trim_schemas () {
 	done
 }
 
-
-# export the zap_root_password, and remote_init_link
 EXPORT_FUNCTIONS zap_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup
 
 addtask rootfs before do_build after do_install
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] image-live.bbclass: allow images to override ROOTFS and INITRD
  2011-10-02 18:15 [PATCH 0/3] Minor and trivial fixes Otavio Salvador
  2011-10-02 18:15 ` [PATCH 1/3] image.bbclass: improve comments regarding exported functions Otavio Salvador
@ 2011-10-02 18:15 ` Otavio Salvador
  2011-10-02 18:15 ` [PATCH 3/3] bootimg.bbclass: fix comment typo Otavio Salvador
  2011-10-04 21:57 ` [PATCH 0/3] Minor and trivial fixes Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2011-10-02 18:15 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/classes/image-live.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index c910488..1d184a1 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -1,11 +1,11 @@
 
 AUTO_SYSLINUXCFG = "1"
-INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz"
+INITRD ?= "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz"
 APPEND += "root=/dev/ram0 "
 TIMEOUT = "10"
 LABELS += "boot install"
 
-ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
+ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
 
 do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs"
 do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] bootimg.bbclass: fix comment typo
  2011-10-02 18:15 [PATCH 0/3] Minor and trivial fixes Otavio Salvador
  2011-10-02 18:15 ` [PATCH 1/3] image.bbclass: improve comments regarding exported functions Otavio Salvador
  2011-10-02 18:15 ` [PATCH 2/3] image-live.bbclass: allow images to override ROOTFS and INITRD Otavio Salvador
@ 2011-10-02 18:15 ` Otavio Salvador
  2011-10-04 21:57 ` [PATCH 0/3] Minor and trivial fixes Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2011-10-02 18:15 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/classes/bootimg.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 49ee85e..a5ba3cf 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -7,7 +7,7 @@
 #
 # End result is two things:
 #
-# 1. A .hddimage file which is an msdos filesystem containing syslinux, a kernel, 
+# 1. A .hddimg file which is an msdos filesystem containing syslinux, a kernel,
 # an initrd and a rootfs image. These can be written to harddisks directly and 
 # also booted on USB flash disks (write them there with dd).
 #
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] Minor and trivial fixes
  2011-10-02 18:15 [PATCH 0/3] Minor and trivial fixes Otavio Salvador
                   ` (2 preceding siblings ...)
  2011-10-02 18:15 ` [PATCH 3/3] bootimg.bbclass: fix comment typo Otavio Salvador
@ 2011-10-04 21:57 ` Richard Purdie
  3 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2011-10-04 21:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sun, 2011-10-02 at 18:15 +0000, Otavio Salvador wrote:
> The following changes since commit c54c1280fc0d06a53e23339c3913ec88eead13d9:
> 
>   base.bbclass: Drop unneeded dependency (2011-09-30 11:34:44 +0100)
> 
> are available in the git repository at:
>   git://github.com/OSSystems/oe-core master
>   https://github.com/OSSystems/oe-core/tree/HEAD
> 
> Otavio Salvador (3):
>   image.bbclass: improve comments regarding exported functions
>   image-live.bbclass: allow images to override ROOTFS and INITRD
>   bootimg.bbclass: fix comment typo
> 
>  meta/classes/bootimg.bbclass    |    2 +-
>  meta/classes/image-live.bbclass |    4 ++--
>  meta/classes/image.bbclass      |    5 +----
>  3 files changed, 4 insertions(+), 7 deletions(-)

Merged to master, thanks.

Richard





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-04 22:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-02 18:15 [PATCH 0/3] Minor and trivial fixes Otavio Salvador
2011-10-02 18:15 ` [PATCH 1/3] image.bbclass: improve comments regarding exported functions Otavio Salvador
2011-10-02 18:15 ` [PATCH 2/3] image-live.bbclass: allow images to override ROOTFS and INITRD Otavio Salvador
2011-10-02 18:15 ` [PATCH 3/3] bootimg.bbclass: fix comment typo Otavio Salvador
2011-10-04 21:57 ` [PATCH 0/3] Minor and trivial fixes Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox