- Create an arch linux chroot using podman:
podman run --rm -it \
-v "$PWD:$PWD" \
-w "$PWD" \
archlinux:latest
FROM archlinux:latest as builder | |
RUN pacman -Syu --noconfirm \ | |
&& pacman -S --noconfirm base-devel udisks2 p7zip \ | |
&& useradd -m -G wheel builduser \ | |
&& echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers | |
USER builduser | |
RUN mkdir ~/mscore-ttf \ |
# Maintainer: Loryeam <loryeam aaaatttt gmail ddooottt com> | |
# Contributor: Vaporeon <vaporeon@vaporeon.io> | |
# Contributor: Zepman <the_zep_man@hotmail.com> | |
# Contributor: Michael Lass <bevan@bi-co.net> | |
# Contributor: Doug Newgard <scimmia at archlinux dot info> | |
# Contributor: reflexing <reflexing@reflexing.ru> | |
# Instructions were copied from ttf-ms-win10-auto and slightly modified: | |
# | |
# BUILD INSTRUCTIONS: |
# Maintainer: Loryeam <loryeam aaaatttt gmail ddooottt com> | |
# Contributor: Vaporeon <vaporeon@vaporeon.io> | |
# Contributor: Zepman <the_zep_man@hotmail.com> | |
# Contributor: Michael Lass <bevan@bi-co.net> | |
# Contributor: Doug Newgard <scimmia at archlinux dot info> | |
# Contributor: reflexing <reflexing@reflexing.ru> | |
# Instructions were copied from ttf-ms-win10-auto and slightly modified: | |
# | |
# BUILD INSTRUCTIONS: |
#!/bin/bash | |
main() { | |
IFace="${1}" | |
MainIP="${2}" | |
DNSList="${3}" | |
BRIFace="${IFace}br" | |
nmcli conn delete "System ${IFace}" |
# Don't put rpm package in subdir see: https://stackoverflow.com/questions/2565509/rpmbuild-generates-rpm-in-which-subdirectory | |
%define _build_name_fmt %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm | |
# Drop the RPM in PWD | |
%define _rpmdir %{getenv:PWD} | |
%define _srcrpmdir %{getenv:PWD} | |
%define _disable_source_fetch %{nil} | |
%define _sourcedir %{getenv:PWD} | |
Name: mouse_m908 | |
Version: 3.1 | |
Release: 1%{?dist} |