diff --git a/doc/dev_guide/development_guide.rst b/doc/dev_guide/development_guide.rst index 40837a943..bdbee3750 100644 --- a/doc/dev_guide/development_guide.rst +++ b/doc/dev_guide/development_guide.rst @@ -32,7 +32,7 @@ Set up the git repository and dev environment * If using https: :code:`git remote add -f upstream https://review.coreboot.org/flashrom` * If using ssh: :code:`git remote add -f upstream ssh://@review.coreboot.org:29418/flashrom` -#. Check out a new local branch that tracks :code:`upstream/master`: :code:`git checkout -b upstream/master` +#. Check out a new local branch that tracks :code:`upstream/main`: :code:`git checkout -b upstream/main` #. Every patch is required to be signed-off (see also :ref:`sign-off`). Set up your ``user.name`` and ``user.email`` in git config, and don't forget @@ -191,7 +191,7 @@ Creating an account Pushing a patch --------------- -To push patch to Gerrit, use the follow command: :code:`git push upstream HEAD:refs/for/master`. +To push patch to Gerrit, use the follow command: :code:`git push upstream HEAD:refs/for/main`. * If using HTTPS you will be prompted for the username and password you set in the Gerrit UI. @@ -205,7 +205,7 @@ to a certain topic. Adding a topic makes it easy to search "all the patches by the topic", even if the patches have been authored by multiple people. -To add a topic, push with the command: :code:`git push upstream HEAD:refs/for/master%topic=example_topic`. +To add a topic, push with the command: :code:`git push upstream HEAD:refs/for/main%topic=example_topic`. Alternatively, you can add a topic from a Gerrit UI after the patch in pushed (on the top-left section) of patch UI. diff --git a/util/manibuilder/Makefile b/util/manibuilder/Makefile index 98ed30c96..b1b982c49 100644 --- a/util/manibuilder/Makefile +++ b/util/manibuilder/Makefile @@ -56,7 +56,7 @@ $(ALL_TAGS): %: %-check-build --env IDENT=$(call ident,$*) \ --volume manicache:/home/mani/.ccache \ --name mani_$(call ident,$*) mani/$* \ - "git fetch origin $${TEST_REVISION:-master} && \ + "git fetch origin $${TEST_REVISION:-main} && \ git checkout FETCH_HEAD && \ $(MAKECMD) clean && $(MAKECMD) -j$${CPUS:-1} CC='$(CC)' \ $(if $(STRIP),STRIP='$(STRIP)') \ diff --git a/util/manibuilder/README.md b/util/manibuilder/README.md index b00d61818..e2ccd8180 100644 --- a/util/manibuilder/README.md +++ b/util/manibuilder/README.md @@ -38,7 +38,7 @@ Usage example ------------- The most common use case may be testing the current upstream -*master* branch which is the default for `$(TEST_REVISION)`. +*main* branch which is the default for `$(TEST_REVISION)`. You'll need roughly 20GiB for the *Docker* images. Might look like this: