You are not logged in.

#1 2018-11-17 14:09:19

Jclifton44
Member
From: United States
Registered: 2017-07-07
Posts: 13

Arch Install Setup Package

Hello,

I am fairly new to Arch Linux and I've made a few executable scripts that help me get Arch installed. I have a question about packaging and what can qualify as a package for AUR. My scripts can do the following:

Configure a WiFi connection
Install the Arch OS
Configure the bootloader to include Windows
Create a USB bootable from the latest Arch ISO image while checking signatures
Create custom live Arch ISOs


I plan to include support for creating a custom Arch ISO that can install the OS without an internet connection.

I plan on using the guide to install packages offline and archiso to create a bootable live USB that can install the entire OS offline.
https://wiki.archlinux.org/index.php/Of … f_packages


I don't know if this is 'The Arch Way.' Simplicity, Modernity, Pragmatism, User Centrality, Versatility


There's an existing guide that explains you can install a system by copying the live USB filesystem to the hard drive.
https://wiki.archlinux.org/index.php/Of … stallation

There is a flag explaining that the factual accuracy of this page is disputed.

All my scripts are written in Bash. My question is about packaging and bash.

Are there packages that are written entirely in bash? I'm not making this with Java or C. It is all Bash.

What does everyone think about making such a package? Is there already one out there like the one I'm describing? Would it be useful?

Any guidance will be appreciated.

Last edited by Jclifton44 (2018-11-18 04:37:54)


"... a high signal to noise ratio..."

Offline

#2 2018-11-17 14:13:49

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 8,406
Website

Re: Arch Install Setup Package

Please do not distribute such scripts, especially not on the AUR. It's perfectly fine for you to scratch your own itch, and you can support yourself if the scripts don't work as expected, but if other people use your scripts, they will find no support here, and will be directed to you for support.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-11-17 14:32:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,429

Re: Arch Install Setup Package

Create a USB bootable from the latest Arch ISO image while checking signatures
Create custom live Arch ISOs

Those 2 sound like they may be suitable for adding to the respective wiki pages


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#4 2018-11-17 14:35:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 20,451
Website

Re: Arch Install Setup Package

I second WorMzy's advice to not try to package these in the AUR.  However, to the direct question: yes, there are bash (or shell script only) packages and those are more than welcome.  The programming/scripting language the content of a package is written is not relevant.  But whether it does something that should be shared is.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB