GithubHelp home page GithubHelp logo

mdaffin / arch-pkgs Goto Github PK

View Code? Open in Web Editor NEW
84.0 7.0 23.0 298 KB

Management repo for my Arch Linux systems. Mirror of https://gitlab.com/mdaffin/arch-pkgs

Home Page: https://disconnected.systems/blog/archlinux-repo-in-aws-bucket/

License: MIT License

Shell 73.65% CSS 3.35% Dockerfile 1.08% Lua 15.75% Vim Script 6.17%
archlinux repo arch aur

arch-pkgs's Introduction

Arch Linux Repository

A set of meta-packages and tooling for managing Arch Linux installs via a custom repository.

pkg/mdaffin contains the meta-packages for my systems and do not strictly follow the Arch Linux packaging guidelines. Instead, I designed the packages for easy maintenance. I will sometimes change the contents of the meta-packages to suite my requirements, as such you should not use them directly. Instead use them as a base for creating your own meta-packages.

The installer directory contains installers for my different system with installer/install-arch containing the general purpose installer. Use this as a base for creating your own. You can install them from a normal Arch Linux ISO with curl and bash such as the following (using git.io URL shortener to make it easier to type).

WARNING This will wipe a drive and install Arch Linux on it. DO NOT run unless you have read through it first.

curl -sL https://git.io/vAoV8 | bash

For more details see these blog posts:

Contributing

I welcome fixes for bugs or better ways of doing something. But these packages and installers are for my personal use and as such I will not approve pull requests for features I do not need. Feel free to raise issues if you want help with your own packages, have an interesting idea, want some clarification or want to discuss something generally.

Requirements

A token from Amazon S3 or Digital Ocean spaces in ~/.s3cfg as

[default]
access_key = <Access Key>
secret_key = <Secret Key>

Build all packages

Builds all local packages in pkg/ and uploads them to the remote repository.

./bin/build

You can build one or more packages rather then all packages by specifying the path to each package.

./bin/build pkg/mdaffin-{base,devel}

Managing AUR Packages

Use the aursync wrapper script to add/update packages from AUR.

# build and install one or more packages
./bin/sync <packages>

# update all aur packages
./bin/sync -u

Removing a Package

To remove a package from the repository run the following.

./bin/remove <package>

arch-pkgs's People

Contributors

a-fayez avatar ebleb avatar mdaffin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

arch-pkgs's Issues

AUR dependencies in meta packages

Hi, great setup you've got here. I'm trying to replicate it using your blog posts as a guideline. I'm a bit stuck on something.
If I declare AUR dependencies in my meta package PKGBUILD, they don't end up added to the repo when I call repo-add. I'm using yay and when I run yay -S for the meta package, it finds it in the repo but can't resolve the AUR dependencies. Arguably a deficiency of yay but I'm curious how it works for you. Either the dependencies are automatically added by repo-add (which doesn't seem like a great idea and this isn't happening in your scripts) or they're resolved at install time by an AUR helper, right?

Error when setting passwords in installer/install-arch

Running into the following error when running the script:

*** stack smashing detected ***: <unknown> terminated
bash: line 111: 11220 Done                             echo "$user:"password"
        line 11221 Aborted                             (core dymped) | chpasswd --root /mnt
bash: Error on line 111: chpasswd --root /mnt

Couldn't figure out why it was happening, did a quick google but couldn't find anything, any ideas on why this could be dying?

Replacment for repose

Repose has a number of issues and will no longer be supported by aurutils in the near future. The underlying issue with repo-add has not been fixed but some alternative workarounds have been suggested:

Keeping a local copy of the repo and syncing it remotely with:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.