diff for duplicates of <cover.1337714416.git.mark.hatle@windriver.com> diff --git a/a/1.txt b/N1/1.txt index a552fef..6950216 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,28 +1,121 @@ -(this is a resend as it appears only 1/3 of showed up..) +This set of commits refactors update-alternatives. The primary purpose +is to cover all of the corner cases currently in oe-core (and hopefully +other layers) so that recipes can all use the update-alternatives class, +instead of manual update-alternatives calls in man post install/remove +scripts. -The following series is an attempt at changing the way the task logging -is performed and adding additional information to help someone determine -what has gone wrong. +The refactored update-alternatives is compatible with the older methods, +but does indicate they are deprecated via a warning message. One of the +key changes is that all referenced alternatives are not added to the +per-file dependency information. For example, gawk sets up an +alternative for 'awk'. The /bin/gawk binary now says it provides +/bin/awk, so that the package management systems that use per file +dependencies (i.e. RPM), will be able to find the minimum set of +packages to resolve the image. -This is an initial requestion for comments, I'm not sure what is -implemented currently is right yet. +In addition, to all of that, the references have been changed from +".${PN}" to ".${BPN}" for alternatives. This will allow the multilib +system to work as intended by resolving multilib binaries. -Additional debug information is sent on function execution and -termination. This will help someone determine the order of function -execution within a task. +All of the work has been tested using buildhistory and building various +images. Buildhistory indicated only expected changes were performed. -There is also a new log.task_order file that explains the order the -tasks have been run. The log includes a reference the associated log -file for that particular task. +(To avoid spamming the list, I have decided to only send the first 3 +patches, lrzsz, busybox, util-linux and shadow-native as this is a +reasonable representation of the changes. Please see the referenced +repository and branch below for full details on the series.) -This also introduces a way to change the format of the log and run -filenames. I've been testing with both the default and variations.. my -current perferred format is: +*** BLURB HERE *** +The following changes since commit e6333825c3482a559a0c0499e17f8f48d3042ddf: -BB_LOGFMT = "{task}/log.{task}.{pid}" -BB_RUNFMT = "{task}/run.{taskfunc}.{pid}" + tune-mips64.inc: Add new tune file for mips64 big-endian (2012-05-20 20:24:37 -0700) -another useful one is: +are available in the git repository at: + git://git.pokylinux.org/poky-contrib mhatle/upd-alt-2 + http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/upd-alt-2 -BB_LOGFMT = "log.{task}.{pid}" -BB_RUNFMT = "run.{taskfunc}.{pid}" +Mark Hatle (30): + update-alternatives.bbclass: Refactor the implementation + update-alternatives.bbclass: Change from using PN to BPN + which: use BPN for alternatives + wget: use BPN for alternatives + time: use BPN for alternatives + shadow: use BPN for alternatives + sed: use BPN for alternatives + mktemp: use BPN for alternatives + less: use BPN for alternatives + patch: use BPN for alternatives + tinylogin: use BPN for alternatives + sysvinit: use new update-alternatives + lrzsz: use new update-alternatives + openssh: use new update-alternatives + busybox: use new update-alternatives + coreutils: use new update-alternatives + dropbear: use new update-alternatives + ncurses: use new update-alternatives + psplash: use new update-alternatives + util-linux: use new update-alternatives + binutils: use new update-alternatives + tar: use new update-alternatives + opkg: use new update-alternatives + cpio: use new update-alternatives + grep: use new update-alternatives + iputils: use new update-alternatives + psmisc: use new update-alternatives + sysklogd: use new update-alternatives + kmod: use new update-alternatives + shadow-utils-native: remove unnecessary alternatives + + meta/classes/package.bbclass | 16 +- + meta/classes/package_rpm.bbclass | 4 - + meta/classes/update-alternatives.bbclass | 348 ++++++++++++++++---- + meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 30 +- + meta/recipes-connectivity/openssh/openssh_6.0p1.bb | 31 +-- + meta/recipes-core/busybox/busybox.inc | 66 ++--- + meta/recipes-core/busybox/busybox_1.19.4.bb | 2 +- + meta/recipes-core/coreutils/coreutils_6.9.bb | 48 +-- + meta/recipes-core/coreutils/coreutils_8.14.bb | 49 ++-- + meta/recipes-core/dropbear/dropbear.inc | 12 +- + meta/recipes-core/dropbear/dropbear_2012.55.bb | 2 +- + meta/recipes-core/ncurses/ncurses.inc | 24 +- + meta/recipes-core/psplash/psplash_git.bb | 23 +- + meta/recipes-core/sysvinit/sysvinit/postinst | 17 - + meta/recipes-core/sysvinit/sysvinit/prerm | 9 - + meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 65 +--- + meta/recipes-core/tinylogin/tinylogin_1.4.bb | 4 +- + meta/recipes-core/util-linux/util-linux.inc | 212 +++---------- + meta/recipes-core/util-linux/util-linux_2.21.1.bb | 2 +- + meta/recipes-devtools/binutils/binutils.inc | 18 +- + meta/recipes-devtools/binutils/binutils_2.22.bb | 2 +- + meta/recipes-devtools/opkg/opkg.inc | 13 +- + meta/recipes-devtools/patch/patch.inc | 4 +- + meta/recipes-extended/cpio/cpio_2.11.bb | 2 +- + meta/recipes-extended/cpio/cpio_2.8.bb | 2 +- + meta/recipes-extended/cpio/cpio_v2.inc | 29 +- + meta/recipes-extended/grep/grep_2.5.1a.bb | 25 +- + meta/recipes-extended/grep/grep_2.9.bb | 26 +- + meta/recipes-extended/iputils/iputils_s20101006.bb | 34 +- + meta/recipes-extended/less/less_444.bb | 4 +- + meta/recipes-extended/mktemp/mktemp_1.7.bb | 4 +- + meta/recipes-extended/psmisc/psmisc.inc | 26 +-- + meta/recipes-extended/psmisc/psmisc_22.16.bb | 2 +- + meta/recipes-extended/sed/sed_4.1.2.bb | 4 +- + meta/recipes-extended/sed/sed_4.2.1.bb | 4 +- + .../shadow/shadow-native_4.1.4.3.bb | 21 -- + meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 4 +- + meta/recipes-extended/sysklogd/sysklogd.inc | 29 +- + meta/recipes-extended/sysklogd/sysklogd_1.5.bb | 2 +- + meta/recipes-extended/tar/tar.inc | 18 +- + meta/recipes-extended/tar/tar_1.17.bb | 2 +- + meta/recipes-extended/tar/tar_1.26.bb | 2 +- + meta/recipes-extended/time/time.inc | 4 +- + meta/recipes-extended/wget/wget.inc | 4 +- + meta/recipes-extended/which/which_2.18.bb | 4 +- + meta/recipes-extended/which/which_2.20.bb | 4 +- + meta/recipes-kernel/kmod/kmod_git.bb | 39 +-- + 47 files changed, 603 insertions(+), 693 deletions(-) + delete mode 100644 meta/recipes-core/sysvinit/sysvinit/postinst + delete mode 100644 meta/recipes-core/sysvinit/sysvinit/prerm + +-- +1.7.3.4 diff --git a/a/content_digest b/N1/content_digest index dde6da7..538f4ec 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,36 +1,129 @@ "From\0Mark Hatle <mark.hatle@windriver.com>\0" - "Subject\0[PATCH 0/3] RFC: Refactor/cleanup logging/run file generation\0" - "Date\0Tue, 22 May 2012 20:46:29 -0500\0" - "To\0<bitbake-devel@lists.openembedded.org>\0" + "Subject\0[PATCH 00/30] Refactor update-alternatives\0" + "Date\0Tue, 22 May 2012 14:30:08 -0500\0" + "To\0<openembedded-core@lists.openembedded.org>\0" "\00:1\0" "b\0" - "(this is a resend as it appears only 1/3 of showed up..)\n" + "This set of commits refactors update-alternatives. The primary purpose \n" + "is to cover all of the corner cases currently in oe-core (and hopefully \n" + "other layers) so that recipes can all use the update-alternatives class, \n" + "instead of manual update-alternatives calls in man post install/remove \n" + "scripts.\n" "\n" - "The following series is an attempt at changing the way the task logging \n" - "is performed and adding additional information to help someone determine \n" - "what has gone wrong.\n" + "The refactored update-alternatives is compatible with the older methods, \n" + "but does indicate they are deprecated via a warning message. One of the \n" + "key changes is that all referenced alternatives are not added to the \n" + "per-file dependency information. For example, gawk sets up an \n" + "alternative for 'awk'. The /bin/gawk binary now says it provides \n" + "/bin/awk, so that the package management systems that use per file \n" + "dependencies (i.e. RPM), will be able to find the minimum set of \n" + "packages to resolve the image.\n" "\n" - "This is an initial requestion for comments, I'm not sure what is \n" - "implemented currently is right yet.\n" + "In addition, to all of that, the references have been changed from \n" + "\".${PN}\" to \".${BPN}\" for alternatives. This will allow the multilib\n" + "system to work as intended by resolving multilib binaries.\n" "\n" - "Additional debug information is sent on function execution and \n" - "termination. This will help someone determine the order of function \n" - "execution within a task.\n" + "All of the work has been tested using buildhistory and building various \n" + "images. Buildhistory indicated only expected changes were performed.\n" "\n" - "There is also a new log.task_order file that explains the order the \n" - "tasks have been run. The log includes a reference the associated log \n" - "file for that particular task.\n" + "(To avoid spamming the list, I have decided to only send the first 3 \n" + "patches, lrzsz, busybox, util-linux and shadow-native as this is a \n" + "reasonable representation of the changes. Please see the referenced \n" + "repository and branch below for full details on the series.)\n" "\n" - "This also introduces a way to change the format of the log and run\n" - "filenames. I've been testing with both the default and variations.. my\n" - "current perferred format is:\n" + "*** BLURB HERE ***\n" + "The following changes since commit e6333825c3482a559a0c0499e17f8f48d3042ddf:\n" "\n" - "BB_LOGFMT = \"{task}/log.{task}.{pid}\"\n" - "BB_RUNFMT = \"{task}/run.{taskfunc}.{pid}\"\n" + " tune-mips64.inc: Add new tune file for mips64 big-endian (2012-05-20 20:24:37 -0700)\n" "\n" - "another useful one is:\n" + "are available in the git repository at:\n" + " git://git.pokylinux.org/poky-contrib mhatle/upd-alt-2\n" + " http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/upd-alt-2\n" "\n" - "BB_LOGFMT = \"log.{task}.{pid}\"\n" - "BB_RUNFMT = \"run.{taskfunc}.{pid}\"" + "Mark Hatle (30):\n" + " update-alternatives.bbclass: Refactor the implementation\n" + " update-alternatives.bbclass: Change from using PN to BPN\n" + " which: use BPN for alternatives\n" + " wget: use BPN for alternatives\n" + " time: use BPN for alternatives\n" + " shadow: use BPN for alternatives\n" + " sed: use BPN for alternatives\n" + " mktemp: use BPN for alternatives\n" + " less: use BPN for alternatives\n" + " patch: use BPN for alternatives\n" + " tinylogin: use BPN for alternatives\n" + " sysvinit: use new update-alternatives\n" + " lrzsz: use new update-alternatives\n" + " openssh: use new update-alternatives\n" + " busybox: use new update-alternatives\n" + " coreutils: use new update-alternatives\n" + " dropbear: use new update-alternatives\n" + " ncurses: use new update-alternatives\n" + " psplash: use new update-alternatives\n" + " util-linux: use new update-alternatives\n" + " binutils: use new update-alternatives\n" + " tar: use new update-alternatives\n" + " opkg: use new update-alternatives\n" + " cpio: use new update-alternatives\n" + " grep: use new update-alternatives\n" + " iputils: use new update-alternatives\n" + " psmisc: use new update-alternatives\n" + " sysklogd: use new update-alternatives\n" + " kmod: use new update-alternatives\n" + " shadow-utils-native: remove unnecessary alternatives\n" + "\n" + " meta/classes/package.bbclass | 16 +-\n" + " meta/classes/package_rpm.bbclass | 4 -\n" + " meta/classes/update-alternatives.bbclass | 348 ++++++++++++++++----\n" + " meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 30 +-\n" + " meta/recipes-connectivity/openssh/openssh_6.0p1.bb | 31 +--\n" + " meta/recipes-core/busybox/busybox.inc | 66 ++---\n" + " meta/recipes-core/busybox/busybox_1.19.4.bb | 2 +-\n" + " meta/recipes-core/coreutils/coreutils_6.9.bb | 48 +--\n" + " meta/recipes-core/coreutils/coreutils_8.14.bb | 49 ++--\n" + " meta/recipes-core/dropbear/dropbear.inc | 12 +-\n" + " meta/recipes-core/dropbear/dropbear_2012.55.bb | 2 +-\n" + " meta/recipes-core/ncurses/ncurses.inc | 24 +-\n" + " meta/recipes-core/psplash/psplash_git.bb | 23 +-\n" + " meta/recipes-core/sysvinit/sysvinit/postinst | 17 -\n" + " meta/recipes-core/sysvinit/sysvinit/prerm | 9 -\n" + " meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 65 +---\n" + " meta/recipes-core/tinylogin/tinylogin_1.4.bb | 4 +-\n" + " meta/recipes-core/util-linux/util-linux.inc | 212 +++----------\n" + " meta/recipes-core/util-linux/util-linux_2.21.1.bb | 2 +-\n" + " meta/recipes-devtools/binutils/binutils.inc | 18 +-\n" + " meta/recipes-devtools/binutils/binutils_2.22.bb | 2 +-\n" + " meta/recipes-devtools/opkg/opkg.inc | 13 +-\n" + " meta/recipes-devtools/patch/patch.inc | 4 +-\n" + " meta/recipes-extended/cpio/cpio_2.11.bb | 2 +-\n" + " meta/recipes-extended/cpio/cpio_2.8.bb | 2 +-\n" + " meta/recipes-extended/cpio/cpio_v2.inc | 29 +-\n" + " meta/recipes-extended/grep/grep_2.5.1a.bb | 25 +-\n" + " meta/recipes-extended/grep/grep_2.9.bb | 26 +-\n" + " meta/recipes-extended/iputils/iputils_s20101006.bb | 34 +-\n" + " meta/recipes-extended/less/less_444.bb | 4 +-\n" + " meta/recipes-extended/mktemp/mktemp_1.7.bb | 4 +-\n" + " meta/recipes-extended/psmisc/psmisc.inc | 26 +--\n" + " meta/recipes-extended/psmisc/psmisc_22.16.bb | 2 +-\n" + " meta/recipes-extended/sed/sed_4.1.2.bb | 4 +-\n" + " meta/recipes-extended/sed/sed_4.2.1.bb | 4 +-\n" + " .../shadow/shadow-native_4.1.4.3.bb | 21 --\n" + " meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 4 +-\n" + " meta/recipes-extended/sysklogd/sysklogd.inc | 29 +-\n" + " meta/recipes-extended/sysklogd/sysklogd_1.5.bb | 2 +-\n" + " meta/recipes-extended/tar/tar.inc | 18 +-\n" + " meta/recipes-extended/tar/tar_1.17.bb | 2 +-\n" + " meta/recipes-extended/tar/tar_1.26.bb | 2 +-\n" + " meta/recipes-extended/time/time.inc | 4 +-\n" + " meta/recipes-extended/wget/wget.inc | 4 +-\n" + " meta/recipes-extended/which/which_2.18.bb | 4 +-\n" + " meta/recipes-extended/which/which_2.20.bb | 4 +-\n" + " meta/recipes-kernel/kmod/kmod_git.bb | 39 +--\n" + " 47 files changed, 603 insertions(+), 693 deletions(-)\n" + " delete mode 100644 meta/recipes-core/sysvinit/sysvinit/postinst\n" + " delete mode 100644 meta/recipes-core/sysvinit/sysvinit/prerm\n" + "\n" + "-- \n" + 1.7.3.4 -3cb2e20a40b82ade462f18f508c95d65ab09fc6852fd2a06b5b880e52e959a74 +b059a097d21a7fca686337c5475a394c41aa39f9546c76fe4df28e47eed84246
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.