Skip to content

Commit

Permalink
Fix problem with Docker's ulimit
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Feb 9, 2024
1 parent 54a62d2 commit d7c7b24
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ nanbield
master
main
output
scarthgap
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ nanbield/
master/
main/
output/
scarthgap/
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade && apt-g
ADD https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/
RUN chmod 777 /usr/local/bin/repo

# Remove hard limit in Docker ulimit
RUN sed -i -r 's/ulimit \-Hn/ulimit \-n/g' /etc/init.d/docker

# Perform the Yocto build as user geniux (not as root).
# By default, docker runs as root. However, Yocto builds should not be run as
# root, but as a normal user. Hence, we switch to the newly created user geniux.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Usage:
Options:
version Geniux version (from oldest to most recent):
rocko, sumo, thud, warrior, zeus, dunfell,
gatesgarth, hardknott, honister, kirkstone, langdale, mickledore. Default: dunfell
rocko, sumo, thud, warrior, zeus, dunfell, gatesgarth,
hardknott, honister, kirkstone, langdale, mickledore, nanbield. Default: dunfell
Check available branches at https://github.com/carlesfernandez/meta-gnss-sdr
manifest Geniux version manifest: 21.02, 21.08, 22.02, 22.06, 23.04, latest. Default: latest
Dated manifests available at https://github.com/carlesfernandez/oe-gnss-sdr-manifest/tags
Expand Down
4 changes: 2 additions & 2 deletions geniux-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ display_usage() {
echo -e "\nUsage:\n./geniux-builder.sh [version] [manifest] [machine] (--image-only / -i)\n"
echo -e "Options:"
echo -e " version Geniux version (from oldest to most recent):"
echo -e " rocko, sumo, thud, warrior, zeus, dunfell,"
echo -e " gatesgarth, hardknott, honister, kirkstone, langdale, mickledore. Default: dunfell"
echo -e " rocko, sumo, thud, warrior, zeus, dunfell, gatesgarth,"
echo -e " hardknott, honister, kirkstone, langdale, mickledore, nanbield. Default: dunfell"
echo -e " Check available branches at https://github.com/carlesfernandez/meta-gnss-sdr"
echo -e " manifest Geniux version manifest: 21.02, 21.08, 22.02, 22.06, 23.04, latest. Default: latest"
echo -e " Dated manifests available at https://github.com/carlesfernandez/oe-gnss-sdr-manifest/tags"
Expand Down

0 comments on commit d7c7b24

Please sign in to comment.