Skip to contentSkip to conversation

Remove "SRC_URI_OVERRIDES_PACKAGE_ARCH = 0" from tslib.bb

PATCH In review Robert P. J. Day 3 participants 7 messages Aug 8, 2014 – Aug 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove "SRC_URI_OVERRIDES_PACKAGE_ARCH = 0" from tslib.bb

Given that there are no machine-specific files for the tslib recipe anymore, might as well remove this line.

---

still not totally sure i know what i'm doing here, but git history
shows that any machine-specific tslib files vanished long ago, so there's little reason to hang onto this. i'm willing to be corrected.

meta/recipes-graphics/tslib/tslib_1.1.bb +0 -2
index 05d58b6..6d8c7dd 100644
@@ -32,8 +32,6 @@ do_install_append() {
 	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
 }
 
-SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
-
 # People should consider using udev's /dev/input/touchscreen0 symlink
 # instead of detect-stylus
 #RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 4 lines · Robert P. J. Day

Given that there are no machine-specific files for the tslib recipe anymore, might as well remove this line.

Robert,

Can you please review the commit guidelines

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

The summary line should be in the form of
tslib: Remove ...

I know it's a trivial patch, but it would good to have the commit message correct.

Thanks
Sau!

Quoted 22 lines

---

still not totally sure i know what i'm doing here, but git history
shows that any machine-specific tslib files vanished long ago, so there's little reason to hang onto this. i'm willing to be corrected.

meta/recipes-graphics/tslib/tslib_1.1.bb +0 -2
index 05d58b6..6d8c7dd 100644
@@ -32,8 +32,6 @@ do_install_append() {
  	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
  }
 
-SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
-
  # People should consider using udev's /dev/input/touchscreen0 symlink
  # instead of detect-stylus
  #RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
#2 lore raw
Quoted 10 lines · Saul Wold
Quoted 4 lines · Robert P. J. Day

Given that there are no machine-specific files for the tslib recipe anymore, might as well remove this line.

Robert,

Can you please review the commit guidelines

Quoted 7 lines

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

The summary line should be in the form of
tslib: Remove ...

I know it's a trivial patch, but it would good to have the commit message correct.

quite so, i'll resubmit properly.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#3 lore raw
In reply to Saul Wold
Quoted 6 lines · Saul Wold
Quoted 4 lines · Robert P. J. Day

Given that there are no machine-specific files for the tslib recipe anymore, might as well remove this line.

Quoted 8 lines

Robert,

Can you please review the commit guidelines

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

The summary line should be in the form of
tslib: Remove ...

serious question -- how does one identify the "primary item" under
consideration if it's scattered over several files. recently, i submitted a patch to remove a few references to "do_package_write", a deleted task. the existing references under meta/:

conf/documentation.conf:do_package_write[doc] = "Creates the actual packages and places them in the Package Feed area" recipes-core/meta/meta-ide-support.bb:do_populate_ide_support[recrdeptask] = "do_package_write" recipes-core/meta/package-index.bb:do_package_write[noexec] = "1" recipes-devtools/installer/adt-installer_1.0.bb:do_package_write[noexec] = "1"

i'm assuming, in this case, the primary item would be
"do_package_write"?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#4 lore raw
Quoted 27 lines · On Saturday 09 August 2014 09:17:16 Robert P. J. Day wrote:
Quoted 4 lines · Saul Wold
Quoted 2 lines · Robert P. J. Day

Given that there are no machine-specific files for the tslib recipe anymore, might as well remove this line.

Quoted 8 lines

Robert,

Can you please review the commit guidelines

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

The summary line should be in the form of
tslib: Remove ...

serious question -- how does one identify the "primary item" under
consideration if it's scattered over several files. recently, i submitted a patch to remove a few references to "do_package_write", a deleted task. the existing references under meta/:

conf/documentation.conf:do_package_write[doc] = "Creates the actual packages and places them in the Package Feed area" recipes-core/meta/meta-ide-support.bb:do_populate_ide_support[recrdeptask] = "do_package_write" recipes-core/meta/package-index.bb:do_package_write[noexec] = "1" recipes-devtools/installer/adt-installer_1.0.bb:do_package_write[noexec] = "1"

Quoted 2 lines

i'm assuming, in this case, the primary item would be
"do_package_write"?

When you're making a blanket change like this it's OK to not have a "primary item". Most of the time though you end up changing just one recipe or class at a time, and then you should specify it.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#5 lore raw
Quoted 1 line · Paul Eggleton

On Saturday 09 August 2014 09:17:16 Robert P. J. Day wrote:

... snip regarding changes that encompass multiple files ...

Quoted 3 lines

When you're making a blanket change like this it's OK to not have a "primary item". Most of the time though you end up changing just one recipe or class at a time, and then you should specify it.

ok, i'll submit this patch shortly. and just FYI, i do understand
that a lot of these patches are eye-rollingly trivial bordering on aesthetic, but a lot of them are in aid of my courses, wherein i like to work through OE source files with students and, every so often, i run across oddities that someone asks about and i have to admit i have no clue what something represents because i've never seen it before and it's not documented anywhere. so i do enjoy making stuff like that go away so i never need to explain it. :-)

patch coming soon ...

rday

p.s. and with the removal of the thing in the subject line, i am unaware of a single use of that variable in all of the layers i normally work with. just an observation.

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#6 lore raw
In reply to Robert P. J. Day
Quoted 14 lines · Robert P. J. Day
Quoted 12 lines · Saul Wold
Quoted 4 lines · Robert P. J. Day

Given that there are no machine-specific files for the tslib recipe anymore, might as well remove this line.

Robert,

Can you please review the commit guidelines

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

Quoted 8 lines
Quoted 2 lines

The summary line should be in the form of
tslib: Remove ...

serious question -- how does one identify the "primary item" under
consideration if it's scattered over several files. recently, i submitted a patch to remove a few references to "do_package_write", a deleted task. the existing references under meta/:

Great question actually and maybe this needs clarification in the Wiki.

Ideally if it's an atomic change around a "primary idea" than that's the focus. Sometimes with refactorings we do bulk and sometime it's individual, depends on if the small changes will cause bisect failures.

Quoted 8 lines

conf/documentation.conf:do_package_write[doc] = "Creates the actual packages and places them in the Package Feed area" recipes-core/meta/meta-ide-support.bb:do_populate_ide_support[recrdeptask] = "do_package_write" recipes-core/meta/package-index.bb:do_package_write[noexec] = "1" recipes-devtools/installer/adt-installer_1.0.bb:do_package_write[noexec] = "1"

i'm assuming, in this case, the primary item would be
"do_package_write"?

Yes, that would be the primary idea in this case.

Sau!

Quoted 2 lines

rday