scripts/ipkg-build: fix deprecated GZIP environment variable warning#7
Closed
wongsyrone wants to merge 1 commit intolede-project:masterfrom
wongsyrone:gzip-warning
Closed
scripts/ipkg-build: fix deprecated GZIP environment variable warning#7wongsyrone wants to merge 1 commit intolede-project:masterfrom wongsyrone:gzip-warning
wongsyrone wants to merge 1 commit intolede-project:masterfrom
wongsyrone:gzip-warning
Conversation
According to gzip 1.7 release note: The GZIP environment variable is now obsolescent; gzip now warns if it is used, and rejects attempts to use dangerous options or operands. You can use an alias or script instead. Fix this warning by using pipe instead Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Member
|
Pulled into my staging tree: https://git.lede-project.org/?p=lede/jow/staging.git;a=commit;h=529068691f3edea0228c2e4fd0ff1441b5234bea |
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Feb 10, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Feb 10, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Feb 16, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Feb 19, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Feb 19, 2017
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Mar 22, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Mar 22, 2017
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Apr 16, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Apr 16, 2017
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
admiral0
pushed a commit
to admiral0/lede-rango
that referenced
this pull request
Apr 27, 2017
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
May 16, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
May 16, 2017
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
kovz
pushed a commit
to kovz/source
that referenced
this pull request
Jul 20, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as lede-project#1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,lede-project#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
kovz
pushed a commit
to kovz/source
that referenced
this pull request
Jul 20, 2017
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
kovz
pushed a commit
to kovz/source
that referenced
this pull request
Sep 1, 2017
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as lede-project#1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,lede-project#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
kovz
pushed a commit
to kovz/source
that referenced
this pull request
Sep 1, 2017
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 17, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 17, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 17, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 17, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 17, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 17, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 18, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 18, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 18, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 18, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 19, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 19, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 19, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 19, 2018
On RTL8367R-VB/RB chips present 2 external ports of maximum 3. Port lede-project#7 works in RGMII mode only and present only on RTL8367RB. Ports are numbered sequentially and so port lede-project#5 must be avoided as only ports 0-4,6,7 are present on board. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 24, 2018
Ports are handled sequentially and indexed from 0 to 7. But boards has different numeration and port functionality so absent port must be avoided. On RTL8367R-VB/RB chips present 2 external ports of maximum 3. RTL8367RB has ports numbered 0-4,6,7. Must skip lede-project#5. RTL8367R-VB has ports numbered 0-6. Must skip lede-project#7. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 25, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports. RTL8367RB has ports indexed as #1,lede-project#2 (PHY lede-project#6, lede-project#7). RTL8367R-VB has ports indexed as #0,#1 (PHY lede-project#5,lede-project#6). Map ports so that extif0 complies to external port 0 or 1 depending on chip ID. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
13hakta
added a commit
to 13hakta/source
that referenced
this pull request
Jun 25, 2018
Ports are handled sequentially and indexed from 0 to 7. But boards has different numeration and port functionality so absent port must be avoided. On RTL8367R-VB/RB chips present 2 external ports of maximum 3. RTL8367RB has ports numbered 0-4,6,7. Must skip lede-project#5. RTL8367R-VB has ports numbered 0-6. Must skip lede-project#7. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
jow-
pushed a commit
that referenced
this pull request
May 12, 2021
The code uses get_mtd_device_nm() which must be followed by a call to put_mtd_device() once the handle is no longer used. This fixes spurious shutdown console messages such as: [ 2256.334562] Removing MTD device #7 (soft_config) with use count 1 Reported-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
jow-
pushed a commit
that referenced
this pull request
May 12, 2021
The code uses get_mtd_device_nm() which must be followed by a call to put_mtd_device() once the handle is no longer used. This fixes spurious shutdown console messages such as: [ 2256.334562] Removing MTD device #7 (soft_config) with use count 1 Reported-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org> (cherry picked from commit 4e385a2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
According to gzip 1.7 release note:
The GZIP environment variable is now obsolescent; gzip now warns if
it is used, and rejects attempts to use dangerous options or operands.
You can use an alias or script instead.
Fix this warning by using pipe instead
Signed-off-by: Syrone Wong wong.syrone@gmail.com