base-files: Remove fstab override
PATCH 1/1 base-files: Remove fstab override
There is already a version of this file provided by oe-core that is kept up to date. Do not override it.
--- .../recipes-core/base-files/base-files/fstab | 13 ------------- .../recipes-core/base-files/base-files_%.bbappend | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/base-files/base-files/fstab
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0 -13
@@ -1,13 +0,0 @@ -# stock fstab - you probably want to override this with a machine specific one - -/dev/root / auto defaults 1 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts mode=0620,gid=5 0 0 -usbdevfs /proc/bus/usb usbdevfs noauto 0 0 -tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0 -tmpfs /var/volatile tmpfs defaults,size=50M 0 0 -tmpfs /media/ram tmpfs defaults,size=16M 0 0 - -# uncomment this if your device has a SD/MMC/Transflash slot -#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0 -
meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +1 -1
@@ -1,4 +1,4 @@ # look for files in this layer first FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PR:append = ".arago4" +PR:append = ".arago5"
Signature · 1 line
2.39.2
Quoted 16 lines · Andrew Davis via lists.yoctoproject.org
There is already a version of this file provided by oe-core that is kept up to date. Do not override it.
Signed-off-by Andrew Davis <[email protected]>--- .../recipes-core/base-files/base-files/fstab | 13 ------------- .../recipes-core/base-files/base-files_%.bbappend | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/base-files/base-files/fstabmeta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-0
meta-arago-distro/recipes-core/base-files/base-files/fstab line 9
Quoted 10 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-9@@ -1,13 +0,0 @@ -# stock fstab - you probably want to override this with a machine specific one - -/dev/root / auto defaults 1 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts mode=0620,gid=5 0 0 -usbdevfs /proc/bus/usb usbdevfs noauto 0 0 -tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0 -tmpfs /var/volatile tmpfs defaults,size=50M 0 0 -tmpfs /media/ram tmpfs defaults,size=16M 0 0
The major difference is these 2 tmpfs entries - upstream doesn't have /media/ram, as that was something TI testing framework was using. Plus upstream doesn't set the size parameter - by default up to 50% of RAM can get used by tmpfs and there were issues with some low-RAM legacy platforms in the past.
If neither of these differences matter any longer, this can be removed.
Quoted 15 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-3-# uncomment this if your device has a SD/MMC/Transflash slot -#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0 -meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +1
-1@@ -1,4 +1,4 @@ # look for files in this layer first FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PR:append = ".arago4" +PR:append = ".arago5"Signature · 1 line
2.39.2
Quoted 34 lines · Denys Dmytriyenko
Quoted 16 lines · Andrew Davis via lists.yoctoproject.org
There is already a version of this file provided by oe-core that is kept up to date. Do not override it.
Signed-off-by Andrew Davis <[email protected]>--- .../recipes-core/base-files/base-files/fstab | 13 ------------- .../recipes-core/base-files/base-files_%.bbappend | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-)delete mode 100644 meta-arago-distro/recipes-core/base-files/base-files/fstab
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-0meta-arago-distro/recipes-core/base-files/base-files/fstab line 9
Quoted 10 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-9@@ -1,13 +0,0 @@ -# stock fstab - you probably want to override this with a machine specific one - -/dev/root / auto defaults 1 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts mode=0620,gid=5 0 0 -usbdevfs /proc/bus/usb usbdevfs noauto 0 0 -tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0 -tmpfs /var/volatile tmpfs defaults,size=50M 0 0 -tmpfs /media/ram tmpfs defaults,size=16M 0 0The major difference is these 2 tmpfs entries - upstream doesn't have /media/ram, as that was something TI testing framework was using. Plus upstream doesn't set the size parameter - by default up to 50% of RAM can get used by tmpfs and there were issues with some low-RAM legacy platforms in the past.
Quoted 2 lines
If neither of these differences matter any longer, this can be removed.
If the tests do need this, then they should mount the needed tmpfs as part of the test setup, not just assume it to be setup by the distro. Simple as:
# mount -t tmpfs -o size=50M tmpfs /media/ram
The only way to push the test framework to do the right thing is to stop doing it for it.
Andrew
Quoted 16 lines
Quoted 16 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-3-# uncomment this if your device has a SD/MMC/Transflash slot -#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0 -meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +1
-1@@ -1,4 +1,4 @@ # look for files in this layer first FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PR:append = ".arago4" +PR:append = ".arago5"Signature · 1 line
2.39.2
Quoted 46 lines · Andrew Davis
Quoted 42 lines · Denys Dmytriyenko
Quoted 30 lines · Andrew Davis via lists.yoctoproject.org
There is already a version of this file provided by oe-core that is kept up to date. Do not override it.
Signed-off-by Andrew Davis <[email protected]>---
.../recipes-core/base-files/base-files/fstab | 13 ------------- .../recipes-core/base-files/base-files_%.bbappend | 2 +-2 files changed, 1 insertion(+), 14 deletions(-)delete mode 100644 meta-arago-distro/recipes-core/base-files/base-files/fstab
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-1@@ -1,13 +0,0 @@ -# stock fstab - you probably want to override this with a machinespecific one
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-2- -/dev/root / autodefaults 1 1
-proc /proc proc defaults 0 0
-devpts /dev/pts devpts mode=0620,gid=5 0 0
-usbdevfs /proc/bus/usb usbdevfs noauto 0 0
-tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0Quoted 4 lines
-tmpfs /var/volatile tmpfs
defaults,size=50M 0 0
-tmpfs /media/ram tmpfs
defaults,size=16M 0 0The major difference is these 2 tmpfs entries - upstream doesn't have /media/ram, as that was something TI testing framework was using. Plus upstream doesn't set the size parameter - by default up to 50% of RAM can get used by tmpfs and there were issues with some low-RAM legacy platforms in the past.
Quoted 2 lines
If neither of these differences matter any longer, this can be removed.
Quoted 7 lines
If the tests do need this, then they should mount the needed tmpfs as part of the test setup, not just assume it to be setup by the distro. Simple as:
# mount -t tmpfs -o size=50M tmpfs /media/ramThe only way to push the test framework to do the right thing is to stop doing it for it.
In general I agree, but that is easier said than done. We need to coordinate this change with the test team, not just dump it on them. I'm not rejecting this patch, just waiting until test has confirmed we no longer need it.
Quoted 18 lines
Andrew
Quoted 16 lines
Quoted 16 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-2-# uncomment this if your device has a SD/MMC/Transflash slot -#/dev/mmcblk0p1 /media/card autodefaults,sync,noauto 0 0
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-1-meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +0
-0@@ -1,4 +1,4 @@ # look for files in this layer firstFILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +1
-1-PR:append = ".arago4" +PR:append = ".arago5"Signature · 1 line
2.39.2
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Quoted 53 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 50 lines · Andrew Davis
Quoted 43 lines · Denys Dmytriyenko
Quoted 31 lines · Andrew Davis via lists.yoctoproject.org
There is already a version of this file provided by oe-core that is kept up to date. Do not override it.
Signed-off-by Andrew Davis <[email protected]>---
.../recipes-core/base-files/base-files/fstab | 13
-------------
.../recipes-core/base-files/base-files_%.bbappend | 2 +-2 files changed, 1 insertion(+), 14 deletions(-)delete mode 100644 meta-arago-distro/recipes-core/base-files/base-files/fstab
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-1@@ -1,13 +0,0 @@ -# stock fstab - you probably want to override this with a machinespecific one
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-2- -/dev/root / autodefaults 1 1
-proc /proc proc defaults 0 0
-devpts /dev/pts devpts mode=0620,gid=5 0 0
-usbdevfs /proc/bus/usb usbdevfs noauto 0 0
-tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0Quoted 4 lines
-tmpfs /var/volatile tmpfs
defaults,size=50M 0 0
-tmpfs /media/ram tmpfs
defaults,size=16M 0 0The major difference is these 2 tmpfs entries - upstream doesn't have /media/ram, as that was something TI testing framework was using. Plus upstream doesn't set the size parameter - by default up to 50% of RAM can get used by tmpfs and there were issues with some low-RAM legacy platforms in the past.
Quoted 2 lines
If neither of these differences matter any longer, this can be removed.
If the tests do need this, then they should mount the needed tmpfs as part of the test setup, not just assume it to be setup by the distro. Simple as:
Quoted 6 lines
Quoted 4 lines
# mount -t tmpfs -o size=50M tmpfs /media/ramThe only way to push the test framework to do the right thing is to stop doing it for it.
In general I agree, but that is easier said than done. We need to coordinate this change with the test team, not just dump it on them. I'm not rejecting this patch, just waiting until test has confirmed we no longer need it.
Good news. We ran a special set of RC tests with this change in place and everything looks like fine. I'll accept this patch now for scarthgap/master.
Quoted 20 lines
Quoted 19 lines
Andrew
Quoted 16 lines
Quoted 16 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-2-# uncomment this if your device has a SD/MMC/Transflash slot -#/dev/mmcblk0p1 /media/card autodefaults,sync,noauto 0 0
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-1-meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +0
-0@@ -1,4 +1,4 @@ # look for files in this layer firstFILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +1
-1-PR:append = ".arago4" +PR:append = ".arago5"Signature · 1 line
2.39.2
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Quoted 47 lines · Ryan Eatmon
Quoted 44 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 41 lines · Andrew Davis
Quoted 34 lines · Denys Dmytriyenko
Quoted 16 lines · Andrew Davis via lists.yoctoproject.org
There is already a version of this file provided by oe-core that is kept up to date. Do not override it.
Signed-off-by Andrew Davis <[email protected]>---
.../recipes-core/base-files/base-files/fstab | 13 ------------- .../recipes-core/base-files/base-files_%.bbappend | 2 +-2 files changed, 1 insertion(+), 14 deletions(-)delete mode 100644 meta-arago-distro/recipes-core/base-files/base-files/fstab
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-0meta-arago-distro/recipes-core/base-files/base-files/fstab line 9
Quoted 10 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-9@@ -1,13 +0,0 @@ -# stock fstab - you probably want to override this with a machine specific one - -/dev/root / auto defaults 1 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts mode=0620,gid=5 0 0 -usbdevfs /proc/bus/usb usbdevfs noauto 0 0 -tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0 -tmpfs /var/volatile tmpfs defaults,size=50M 0 0 -tmpfs /media/ram tmpfs defaults,size=16M 0 0The major difference is these 2 tmpfs entries - upstream doesn't have /media/ram, as that was something TI testing framework was using. Plus upstream doesn't set the size parameter - by default up to 50% of RAM can get used by tmpfs and there were issues with some low-RAM legacy platforms in the past.
Quoted 2 lines
If neither of these differences matter any longer, this can be removed.
If the tests do need this, then they should mount the needed tmpfs as part of the test setup, not just assume it to be setup by the distro. Simple as:
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
# mount -t tmpfs -o size=50M tmpfs /media/ramThe only way to push the test framework to do the right thing is to stop doing it for it.
In general I agree, but that is easier said than done. We need to coordinate this change with the test team, not just dump it on them. I'm not rejecting this patch, just waiting until test has confirmed we no longer need it.
Good news. We ran a special set of RC tests with this change in place and everything looks like fine. I'll accept this patch now for scarthgap/master.
Great! Thanks for setting up and running the extra tests for this
Andrew
Quoted 21 lines
Quoted 20 lines
Quoted 19 lines
Andrew
Quoted 15 lines
Quoted 15 lines
meta-arago-distro/recipes-core/base-files/base-files/fstab deleted +0
-3-# uncomment this if your device has a SD/MMC/Transflash slot -#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0 -meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +0
-0@@ -1,4 +1,4 @@ # look for files in this layer firstFILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
meta-arago-distro/recipes-core/base-files/base-files_%.bbappend +1
-1-PR:append = ".arago4" +PR:append = ".arago5"Signature · 1 line
2.39.2