Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add intro for Builder v2 #1409

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

marmarta
Copy link
Member

@marmarta marmarta commented Jul 2, 2024

Add a simple introduction to using builder v2, for people who like me got intimidated by the readme.

cd qubes-builderv2/
```

2. Installing dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and the usermod below) needs to be done in the template for the chosen AppVM (if that's on qubes). Or in a StandaloneVM.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chosen as in the one we are installing things in?


4. Finally, you need to generate a docker image:
```shell
$ tools/generate-container-image.sh docker
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is AppVM, /var/lib/docker is normally not persistent. To make it persistent, use bind-dirs: /rw/config/qubes-bind-dirs.d/docker.conf:

binds+=( '/var/lib/docker' )

or use StandaloneVM

```

This will fetch the sources for the listed package and place them in
`artifacts\sources` directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/

This will fetch the sources for the listed package and place them in
`artifacts\sources` directory.

To build a package (from sources in the `artifacts\sources` directory), use:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/


If you want to fetch entire Qubes OS sources (caution: some repositories might
have additional requirements; you can disable repositories that are not
needed in the `example-configs\*.yml` file you are using by commenting them
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/

@marmarta marmarta changed the title WIP: Add intro for Builder v2 Add intro for Builder v2 Jul 3, 2024
@marmarta
Copy link
Member Author

marmarta commented Jul 3, 2024

one new word: SRPM (wiki says it exists)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants