Skip to contentSkip to conversation

conf/layer.conf: fix "No newline at end of file"

PATCH In review Robert Yang 2 participants 3 messages Oct 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 conf/layer.conf: fix "No newline at end of file"

The last line lacked a newline (usually '\n', aka CR or CRLF) in the end, so there was a warning from git diff:

\ No newline at end of file

The last byte of the file should be a newline.

Note:
It seems that nothing is changed in this commit, but it does change the end of the last line.

---
 conf/layer.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -1
index 4c1fa19..15ed1df 100644
@@ -9,4 +9,4 @@ BBFILE_PATTERN_virtualization-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_virtualization-layer = "7"
 
 # Custom licenses used by some packages in this layer
-LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
\ No newline at end of file
+LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 conf/layer.conf: add LAYERVERSION and LAYERDEPENDS

Add LAYERVERSION and LAYERDEPENDS, it needs depend on oe-core and meta-networking layer.

---
 conf/layer.conf |    6 ++++++
 1 file changed, 6 insertions(+)
conf/layer.conf +6 -0
index 15ed1df..3d21667 100644
@@ -10,3 +10,9 @@ BBFILE_PRIORITY_virtualization-layer = "7"
 
 # Custom licenses used by some packages in this layer
 LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
+
+# This should only be incremented on significant changes that will
+# cause compatibility issues with other layers
+LAYERVERSION_virtualization-layer = "1"
+
+LAYERDEPENDS_virtualization-layer = "core networking-layer"
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Robert Yang

FYI: this should go to [email protected], but I can pick up the patch from here.

Cheers,

Bruce

Quoted 34 lines · Robert Yang

The last line lacked a newline (usually '\n', aka CR or CRLF) in the end, so there was a warning from git diff:

\ No newline at end of file

The last byte of the file should be a newline.

Note:
It seems that nothing is changed in this commit, but it does change the end of the last line.

---
 conf/layer.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -2
index 4c1fa19..15ed1df 100644
@@ -9,4 +9,4 @@ BBFILE_PATTERN_virtualization-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_virtualization-layer = "7"
 
 # Custom licenses used by some packages in this layer
-LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
\ No newline at end of file
+LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
--

1.7.10.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"