nimbus-eth2/scripts/package_src/nimbus_beacon_node
Jakub Sokołowski b79d267b8f
drop dependency on lsb-release script (#4597)
The `/etc/os-release` file exists in most distributions and can be
easily read in Bash by sourcing it:
```
 > docker run --rm -it debian:bullseye
root@2f5d6e038738:/# grep '^ID=' /etc/os-release
ID=debian
```
```
 > docker run --rm -it ubuntu:22.04
root@316b572b6e4d:/# grep '^ID=' /etc/os-release
ID=ubuntu
```
The dependency on `lsb-release` tool
is unnecessary, and pulls in additional big dependencies like `python3`:
```
 # apt show lsb-release | grep Depends
Depends: python3:any, distro-info-data
```
Which if used in a Docker container would make it unnecessarily big.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-06 11:43:24 +01:00
..
image/lib/systemd/system doc updates (#4314) 2022-11-13 07:59:55 +01:00
after_install drop dependency on lsb-release script (#4597) 2023-02-06 11:43:24 +01:00
after_remove packaging updates (#3974) 2022-08-17 13:26:31 +03:00
after_upgrade packaging updates (#3974) 2022-08-17 13:26:31 +03:00
before_remove packaging updates (#3974) 2022-08-17 13:26:31 +03:00
deb_after_purge packaging updates (#3974) 2022-08-17 13:26:31 +03:00
description packaging updates (#3974) 2022-08-17 13:26:31 +03:00