Skip to contentSkip to conversation

beaglebone-getting-started: Use cp options to not alter file mode

PATCH In review Khem Raj 2 participants 10 messages Oct 12, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 beaglebone-getting-started: Use cp options to not alter file mode

Fixes do_package_qa warnings
<FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -1
index 603a01a7..6c61a4e9 100644
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
 	install -d ${D}${datadir}/${PN}
-	cp -a ${S}/* ${D}${datadir}/${PN}
+	cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
 }
 
 FILES_${PN} += "${datadir}/${PN}"
Signature · 1 line
2.19.1
#1 lore raw

Are you still trying to do world builds? :)

Most of the places with this QA warning that are part of our builds were fixed before, but there are some outdated recipes like this one which were left out.

Quoted 29 lines · Khem Raj

Fixes do_package_qa warnings
<FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -1
index 603a01a7..6c61a4e9 100644
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
 	install -d ${D}${datadir}/${PN}
-	cp -a ${S}/* ${D}${datadir}/${PN}
+	cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
 }
 
 FILES_${PN} += "${datadir}/${PN}"
Signature · 7 lines
2.19.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
author
#2 lore raw
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

Quoted 34 lines

Most of the places with this QA warning that are part of our builds were fixed before, but there are some outdated recipes like this one which were left out.

Quoted 29 lines · Khem Raj

Fixes do_package_qa warnings
<FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -2
index 603a01a7..6c61a4e9 100644
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
      install -d ${D}${datadir}/${PN}
-     cp -a ${S}/* ${D}${datadir}/${PN}
+     cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
 }
 
 FILES_${PN} += "${datadir}/${PN}"
--

2.19.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw
Quoted 11 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

Quoted 6 lines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Quoted 34 lines
Quoted 34 lines

Most of the places with this QA warning that are part of our builds were fixed before, but there are some outdated recipes like this one which were left out.

Quoted 29 lines · Khem Raj

Fixes do_package_qa warnings
<FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -2
index 603a01a7..6c61a4e9 100644
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
      install -d ${D}${datadir}/${PN}
-     cp -a ${S}/* ${D}${datadir}/${PN}
+     cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
 }
 
 FILES_${PN} += "${datadir}/${PN}"
--

2.19.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

author
#4 lore raw
Quoted 17 lines · Denys Dmytriyenko
Quoted 15 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

Quoted 5 lines
Quoted 2 lines

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Cool thanks. Although you wont need all of above
after this :)

Quoted 36 lines
Quoted 36 lines
Quoted 36 lines

Most of the places with this QA warning that are part of our builds were fixed before, but there are some outdated recipes like this one which were left out.

Quoted 29 lines · Khem Raj

Fixes do_package_qa warnings
<FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -2
index 603a01a7..6c61a4e9 100644
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
      install -d ${D}${datadir}/${PN}
-     cp -a ${S}/* ${D}${datadir}/${PN}
+     cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
 }
 
 FILES_${PN} += "${datadir}/${PN}"
--

2.19.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#5 lore raw
Quoted 18 lines · Khem Raj
Quoted 17 lines · Denys Dmytriyenko
Quoted 15 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Cool thanks. Although you wont need all of above
after this :)

Meaning?

Quoted 34 lines
Quoted 34 lines
Quoted 34 lines
Quoted 34 lines

Most of the places with this QA warning that are part of our builds were fixed before, but there are some outdated recipes like this one which were left out.

Quoted 29 lines · Khem Raj

Fixes do_package_qa warnings
<FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination

---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/beagleboard/beaglebone-getting-started.bb +1 -2
index 603a01a7..6c61a4e9 100644
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
      install -d ${D}${datadir}/${PN}
-     cp -a ${S}/* ${D}${datadir}/${PN}
+     cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
 }
 
 FILES_${PN} += "${datadir}/${PN}"
--

2.19.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

author
#6 lore raw
Quoted 23 lines · Denys Dmytriyenko
Quoted 21 lines · Khem Raj
Quoted 20 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Cool thanks. Although you wont need all of above
after this :)

Meaning?

Yoe is a superset

#7 lore raw
Quoted 27 lines · Khem Raj
Quoted 26 lines · Denys Dmytriyenko
Quoted 24 lines · Khem Raj
Quoted 22 lines · Denys Dmytriyenko
Quoted 11 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

Quoted 6 lines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Cool thanks. Although you wont need all of above
after this :)

Meaning?

Yoe is a superset

Uhm, hardly. Do you mean just BSP pieces?

author
#8 lore raw
Quoted 29 lines · Denys Dmytriyenko
Quoted 27 lines · Khem Raj
Quoted 26 lines · Denys Dmytriyenko
Quoted 24 lines · Khem Raj
Quoted 22 lines · Denys Dmytriyenko
Quoted 11 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

Quoted 6 lines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Cool thanks. Although you wont need all of above
after this :)

Meaning?

Yoe is a superset

Uhm, hardly. Do you mean just BSP pieces?

not only that but we have added lot
of common layers too

#9 lore raw
Quoted 33 lines · Khem Raj
Quoted 32 lines · Denys Dmytriyenko
Quoted 30 lines · Khem Raj
Quoted 29 lines · Denys Dmytriyenko
Quoted 26 lines · Khem Raj
Quoted 17 lines · Denys Dmytriyenko
Quoted 15 lines · Khem Raj
Quoted 3 lines · Denys Dmytriyenko

Are you still trying to do world builds? :)

yes. with the patches I send in this week meta-ti seems to behave in multi-BSP setup
I will soon add it to bblayers.conf for Yoe distro and it will start testing on meta-openembedded CI builds, atleast for not nosing other BSPs, I dont have infra to do world build for all the machines

but if you were to pick Yoe distro and run with it for machines you are interested in
that would be awesome.

Quoted 5 lines
Quoted 2 lines

See. https://github.com/YoeDistro/yoe-distro, everyone having interesting boards is welcome to run world builds using that and report problems.

I can probably add it to my CI loop as well - I already do extensive builds and tests on Arago, Poky and distroless.

Cool thanks. Although you wont need all of above
after this :)

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Meaning?

Yoe is a superset

Uhm, hardly. Do you mean just BSP pieces?

not only that but we have added lot
of common layers too

Still, it may only replace basic BSP testing, not a whole Distro with custom apps, etc...