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

Arch Linux PKGBUILD #116

Closed
wants to merge 3 commits into from
Closed

Arch Linux PKGBUILD #116

wants to merge 3 commits into from

Conversation

gjabell
Copy link
Contributor

@gjabell gjabell commented Mar 25, 2019

Fixes #115. (Don't merge yet, still want to add automatic updating in the build-installer.sh script).

Changes proposed in this pull request:

  • Add Arch Linux PKGBUILD

@gjabell
Copy link
Contributor Author

gjabell commented Mar 25, 2019

Here's a Dockerfile for easily testing the install works (might need to spin up a vm for integration though):

FROM archlinux/base:latest

RUN pacman -Syy --noconfirm base-devel \
                            grep \
                            python2

RUN useradd -d /home/baker -m baker

RUN echo 'baker ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/baker

COPY PKGBUILD /tmp/PKGBUILD

USER baker

ENTRYPOINT ["/bin/bash"]

Note that this PKGBUILD uses the source from releases, which is not up to date with the patch fixing path issues in Linux. To fix this, add the changes from this commit directly to the files installed at /usr/lib/node_modules/baker. A new release is up w/ containing that commit, so this should install just fine now.

I can also add a PKGBUILD for using the dev branch and building directly from source, if requested.

- Update PKGBUILD to v0.7.0 (w/ hash)
- Update description and maintainer to match .deb packages
- Add sed step to build-installer.sh to update PKGBUILD version, and
reminder to update md5sum after .tar.gz creation.
@gjabell
Copy link
Contributor Author

gjabell commented Mar 26, 2019

Tested this on an arch VM running virtualbox 5.2.22-3. It might be best to wait to publish it to the AUR until baker supports virtualbox 6.0+, since arch is rolling release and you'd have to downgrade to get it working.

@gjabell gjabell changed the title WIP - Arch Linux PKGBUILD Arch Linux PKGBUILD Mar 26, 2019
@gjabell
Copy link
Contributor Author

gjabell commented Apr 2, 2019

Closing since I goofed and deleted the original fork

@gjabell gjabell closed this Apr 2, 2019
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