conf/layer.conf: fix "No newline at end of file"
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
@@ -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" +LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
Signature · 1 line
1.7.10.4
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
@@ -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
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.Signed-off-by Robert Yang <[email protected]>--- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/layer.conf +1
-2@@ -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" +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"