You are not logged in.

#1 2013-08-17 20:52:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Clean-chroot-manager (ccm for short) is a little wrapper script I wrote that provides a "one command" solution to building in a clean chroot.  A key point that differentiates ccm from the arch-build-scripts is that ccm automatically manages a local repo within the chroot so dependencies that you build are pulled transparently from that local repo!  Just build packages in order.  Comments are welcome.

Note - Users can build x64 package or i686 packages with this script (call either ccm64 or ccm32).

Github: https://github.com/graysky2/clean-chroot-manager
AUR: https://aur.archlinux.org/packages/clean-chroot-manager

Example invocation showing options:

% sudo ccm64
clean-chroot-manager v2.56

 Usage: /usr/bin/ccm64 [option]

 --- SETUP ---
 c) Create a clean chroot in /scratch/.chroot64
 t) Toggle [testing] on/off in the chroot
 m) Toggle [multilib] on/off in the chroot

 --- BUILDING ---
 s) Run makepkg in clean chroot

 --- MISCELLANEOUS ---
 l) List local repo in chroot (packages you build)
 n) Nuke the entire dirtree under /scratch/.chroot64
 p) Preview settings
 u) Update clean chroot

Example: Make a new clean 64-bit chroot:

$ sudo ccm64 c

Example: Build a package in the clean 64-bit chroot:

$ sudo ccm64 s

Example: Build a package in the clean 32-bit chroot:

$ sudo ccm32 s

Last edited by graysky (2014-08-28 18:41:13)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2013-12-13 13:31:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Am using ccm at the moment one thing that I noticed was the two directories 'root' and 'mrgreen' both contain root filesystem and are about ~400Mb in size is there a reason for this? why not just use one?

Great script thanks for sharing wink


Mr Green

Offline

#3 2013-12-13 13:43:11

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

This is not ccm at all, but the underlying official Arch build scripts which manage a clean and dirty build environment.  For more, check the code of:
/usr/bin/mkarchroot
/usr/bin/makechrootpkg

Again, ccm is just a glorified wrapper for these with some extra built ins (i.e. a local repo and shortcut commands).

Last edited by graysky (2013-12-13 13:44:08)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2013-12-13 13:43:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,750
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

root is the clean chroot, mrgreen is a copy (or snapshot, if you're using btrfs) for building in. Any changes in mrgreen are transient, so every package you build will be built in a fresh chroot.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-12-13 13:45:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Ha, simultaneous posts smile


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2013-12-13 15:49:09

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Well that has cleared that up, I like wrappers wink thank you...

Hoping I can get repo working for my iso builds


Mr Green

Offline

#7 2013-12-14 07:08:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Am working on a script to build 32bits packages from a file but am getting error

==> Leaving fakeroot environment.
==> Finished making: dmenu-xft 4.5-1 (Sat Dec 14 07:02:07 GMT 2013)
----> Adding package to chroot repo...
==> Extracting database to a temporary location...
==> Adding package '/scratch/custompkgs-i686/root/repo/dmenu-xft-4.5-1-i686.pkg.tar.xz'
==> WARNING: An entry for 'dmenu-xft-4.5-1' already existed
  -> Computing checksums...
  -> Removing existing entry 'dmenu-xft-4.5-1'...
  -> Creating 'desc' db entry...
  -> Creating 'depends' db entry...
==> Creating updated database file '/scratch/custompkgs-i686/root/repo/chroot_local.db.tar.gz'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2556  100  2556    0     0  14979      0 --:--:-- --:--:-- --:--:-- 14947
/home/mrgreen/broadcom-wl
----> Attempting to build package...
==> Creating clean working copy [mrgreen]...done
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 chroot_local             510.0   B  0.00B/s 00:00 [######################] 100%
:: Starting full system upgrade...
 there is nothing to do
==> ERROR: You do not have write permission to store downloads in /home/mrgreen/broadcom-wl.
    Aborting...
==> ERROR: Could not download sources.

The script

#!/usr/bin/bash
# aurbuild
# move this script to your users home and adjust variables below
# to suit
# 
# by Mr Green & jpkotta

# path to aur_packages file in source folder
aur_pkg_dir=/home/mrgreen/aur_packages

# path to your own custom repo, you are free to use /tmp if you so wish
repo_dir=/scratch/custompkgs-i686


[[ ! -d ${repo_dir} ]] &&  mkdir -p ${repo_dir}
#cd ${repo_dir}

while read pkg ; do
    pkg=${pkg%%#*} # remove comments
    [[ -z "$pkg" ]] && continue

    if [ -f ${pkg}*.pkg.tar.xz ] ; then
        continue
    fi

    curl -O https://aur.archlinux.org/packages/${pkg:0:2}/$pkg/$pkg.tar.gz

    tar xf $pkg.tar.gz

    (
       cd $pkg
       echo $PWD
       ccm32 s 
    )
#    rm -rf $pkg/ $pkg.tar.gz

done < ${aur_pkg_dir}

Mr Green

Offline

#8 2014-08-28 16:19:53

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Ok setup chroot and gave it a shot

mrgreen@arch broadcom-wl]$ man ccm
[mrgreen@arch broadcom-wl]$ sudo ccm32 s
----> Attempting to build package...
==> Creating clean working copy [mrgreen]...done
:: Synchronizing package databases...
 core is up to date
 extra                                                  1775.9 KiB  3.19M/s 00:01 [###############################################] 100%
 community                                                 2.3 MiB  3.51M/s 00:01 [###############################################] 100%
error: failed retrieving file 'chroot_local.db' from disk : Couldn't open file /repo/chroot_local.db
error: failed to update chroot_local (download library error)
:: Starting full system upgrade...
 there is nothing to do

==> Making package: broadcom-wl 6.30.223.248-1 (Thu Aug 28 17:18:46 BST 2014)
==> Retrieving sources...
  -> Found hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz
  -> Found modprobe.d
  -> Found license.patch
  -> Found linux-recent.patch
  -> Found gcc.patch
==> Validating source files with sha256sums...
    hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz ... Passed
    modprobe.d ... Passed
    license.patch ... Passed
    linux-recent.patch ... Passed
    gcc.patch ... Passed
warning: database file for 'chroot_local' does not exist
error: package 'linux' was not found
cat: /usr/lib/modules/extramodules--ARCH/version: No such file or directory
==> Making package: broadcom-wl 6.30.223.248-1 (Thu Aug 28 17:18:46 BST 2014)
==> Checking runtime dependencies...
warning: database file for 'chroot_local' does not exist
==> Installing missing dependencies...
warning: database file for 'chroot_local' does not exist
error: failed to prepare transaction (could not find database)
==> ERROR: 'pacman' failed to install missing dependencies.

==> ERROR: Build failed, check /opt/chroot32/mrgreen/build
----> Adding package to chroot repo...
cp: cannot stat '*.pkg.tar.xz': No such file or directory
==> ERROR: File '/opt/chroot32/root/repo/*.pkg.tar.xz' not found.
==> No packages modified, nothing to do.

Do I need to move PKGBUILD into /opt/chroot32? working from my $HOME directory...Anything I need to check to make sure I have all the packages installed?


Mr Green

Offline

#9 2014-08-28 16:27:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

1) No, the problem is that the PKGBUILD doesn't build in *any* chroot as it is written.  Try it with just the arch scripts to see it isn't ccm's fault.
2) The reason you're getting those errors about the local repo is that FS#40620 is still open.

When I get home later today, I can post a work around...

Last edited by graysky (2014-08-28 18:42:37)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2014-08-28 18:33:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Here is a patch you can apply to the PKGBUILD to enable it to build in the chroot.  Note that all this does is to insure that the headers are installed BEFORE the kernver stuff is defined.  Again, ccm is totally fine, but devtools is providing a buggy version of the underlying scripts.  When the build fails, /usr/bin/makechrootpkg should throw a non-zero exit code, but the bug I reported is affecting it.  You can manually fix yours; just follow the link in the FS I posted.  If you don't you will continue to get those errors since ccm tries to add a non-existent package to your local repo which mucks it all up.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#11 2014-08-28 19:32:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Ok PKGBUILD looks like this

# Maintainer: Armin K. <krejzi at email dot com>
# Contributor: Austin ( doorknob60 [at] gmail [dot] com )
# Contributor: Gaetan Bisson <bisson@archlinux.org>

pkgname=broadcom-wl
pkgver=6.30.223.248
pkgrel=1
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
url='http://www.broadcom.com/support/802.11/linux_sta.php'
arch=('i686' 'x86_64')
license=('custom')
depends=('linux')
makedepends=('linux-headers')
[[ $CARCH = x86_64 ]] && _arch=_64 || _arch=
source=("http://www.broadcom.com/docs/linux_sta/hybrid-v35${_arch}-nodebug-pcoem-${pkgver//./_}.tar.gz"
        'modprobe.d'
        'license.patch'
        'linux-recent.patch'
        'gcc.patch')
sha256sums=('b196543a429c22b2b8d75d0c1d9e6e7ff212c3d3e1f42cc6fd9e4858f01da1ad'
            'b4aca51ac5ed20cb79057437be7baf3650563b7a9d5efc515f0b9b34fbb9dc32'
            '2f70be509aac743bec2cc3a19377be311a60a1c0e4a70ddd63ea89fae5df08ac'
            'cf635a69b27c595fb7a364e81496b0ec0a3ad9b6b703e254d4b1aea029f26257'
            'b07ce80f2e079cce08c8ec006dda091f6f73f158c8a62df5bac2fbabb6989849')
[[ $CARCH = x86_64 ]] && sha256sums[0]='3d994cc6c05198f4b6f07a213ac1e9e45a45159899e6c4a7feca5e6c395c3022'

install=install

_kernmajor="$(pacman -Q linux | awk '{print $2}' | cut -d - -f1 | cut -d . -f1,2)"
_extramodules="extramodules-${_kernmajor}-ARCH"
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"

prepare() {
        cd "${srcdir}"

        patch -p1 -i linux-recent.patch
        patch -p1 -i license.patch
        patch -p1 -i gcc.patch

        sed -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" \
            -i src/wl/sys/wl_linux.c
}

build() {
        cd "${srcdir}"
         _kernmajor="$(pacman -Q linux | awk '{print $2}' | cut -d - -f1 | cut -d . -f1,2)"
        _extramodules="extramodules-${_kernmajor}-ARCH"
        _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"


        make -C /usr/lib/modules/${_kernver}/build M=`pwd`
}

package() {
        cd "${srcdir}"
       _kernmajor="$(pacman -Q linux | awk '{print $2}' | cut -d - -f1 | cut -d . -f1,2)"
       _extramodules="extramodules-${_kernmajor}-ARCH"
       _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"


        install -Dm644 wl.ko "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko"
        gzip "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko"

        install -Dm644 lib/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
        install -Dm644 modprobe.d "${pkgdir}/usr/lib/modprobe.d/broadcom-wl.conf"
}

Error now getting is

----> Attempting to build package...
==> Creating clean working copy [mrgreen]...done
:: Synchronizing package databases...
 core is up to date
 extra                                                  1774.7 KiB  2.56M/s 00:01 [###############################################] 100%
 community                                                 2.3 MiB  3.19M/s 00:01 [###############################################] 100%
error: failed retrieving file 'chroot_local.db' from disk : Couldn't open file /repo/chroot_local.db
error: failed to update chroot_local (download library error)
:: Starting full system upgrade...
 there is nothing to do

==> Making package: broadcom-wl 6.30.223.248-1 (Thu Aug 28 20:33:46 BST 2014)
==> Retrieving sources...
  -> Found hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz
  -> Found modprobe.d
  -> Found license.patch
  -> Found linux-recent.patch
  -> Found gcc.patch
==> Validating source files with sha256sums...
    hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz ... Passed
    modprobe.d ... Passed
    license.patch ... Passed
    linux-recent.patch ... Passed
    gcc.patch ... Passed
warning: database file for 'chroot_local' does not exist
error: package 'linux' was not found
cat: /usr/lib/modules/extramodules--ARCH/version: No such file or directory
==> Making package: broadcom-wl 6.30.223.248-1 (Thu Aug 28 20:33:46 BST 2014)
==> Checking runtime dependencies...
warning: database file for 'chroot_local' does not exist
==> Installing missing dependencies...
warning: database file for 'chroot_local' does not exist
error: failed to prepare transaction (could not find database)
==> ERROR: 'pacman' failed to install missing dependencies.

==> ERROR: Build failed, check /opt/chroot32/mrgreen/build
----> Adding package to chroot repo...
cp: cannot stat '*.pkg.tar.xz': No such file or directory
==> ERROR: File '/opt/chroot32/root/repo/*.pkg.tar.xz' not found.
==> No packages modified, nothing to do.

Thinking linux package is missing or not setup correctly


Mr Green

Offline

#12 2014-08-28 20:08:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Hmm... Builds for me... Nuke the chroot first?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#13 2014-08-28 20:13:15

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Will do .....


Mr Green

Offline

#14 2014-08-28 20:26:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,891
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Nuked, created and built ... thanks wink

sudo ccm32 l
==> Listing out packages in chroot repo...
-rw-r--r-- 1 root root 2.6M Aug 28 21:21 broadcom-wl-6.30.223.248-1-i686.pkg.tar.xz

Mr Green

Offline

#15 2014-09-23 09:31:09

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Every time you create something I check it out. Another awesome contrib by you smile

I have an issue, but its not the fault of clean-chroot-manager. I will point it out as a potential issue for a small subset of users, but idk if you really want to DO anything about it (or can). Let me give you my use case:

I build long-running processes with hardening-wrapper (in community repo) for security purposes; doing so allows me to run that program FullRelro/canary/PIE/fortify. My host system has no issues building any package... except Firefox. The only way I can get it to build is to use a clean chroot. Enter ccm...

The only problem is, I cant get ccm to set up the chroot because it tries to pull packages from /var/cache/pacman/pkg, and since some packages (like perl for instance) are built with hardening-wrapper, they fail the signature check. I found a workaround to get it setup: rename /var/cache/pacman/pkg to something else, setup the chroot with ccm (so it downloads everything from the mirrors), then change the name back. I will need to do this anytime the chroot packages are updated (as ccm will try to pull packages from /var/cache/pacman/pkg on the host system). Then, before building firefox (since none of Firefox's deps are built "hardened" on my system), change /var/cache/pacman/pkg2 back to pkg, and build (so I dont have to redownload all of Firefox's deps everytime).

Not that big of a deal- just wanted you to be aware. Not sure this can even be handled by CCM- would this need to be a change to makechrootpkg/mkarchroot?

Regardless, this makes setting up clean chroots much easier and more eloquent in my case. I dont know how I survived without it smile

Offline

#16 2014-09-23 19:38:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Sorry, never considered this use case when I wrote the wrapper... perhaps the best solution is for you to put all your hardened packages into the local repo in the chroot and manually reindex it.  That way, your chroot-builder will pull from them preferentially.  Make sense?

EDIT: I just realized that the local repo is not high enough in priority for that to work.  I will need to modify it.  Give me a few hours.
EDIT2: OK... re-prioritized my chores for the afternoon and fixed this.  Please try version 2.57 which will prioritize any package in the local repo (this is the behavior that should have been enabled from the beginning now that I think about it).

Last edited by graysky (2014-09-23 20:46:36)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#17 2014-09-24 06:58:53

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

graysky wrote:

Sorry, never considered this use case when I wrote the wrapper... perhaps the best solution is for you to put all your hardened packages into the local repo in the chroot and manually reindex it.  That way, your chroot-builder will pull from them preferentially.  Make sense?

EDIT: I just realized that the local repo is not high enough in priority for that to work.  I will need to modify it.  Give me a few hours.
EDIT2: OK... re-prioritized my chores for the afternoon and fixed this.  Please try version 2.57 which will prioritize any package in the local repo (this is the behavior that should have been enabled from the beginning now that I think about it).

Im not sure what you mean by "manually reindex it". How? The only way I can see to build a local db file is to build something. Since my first build of firefox failed (unrelated issue), I had no local db file. I built some small dep and sure enough a local db file was created. I read through your github page, the config file, --help, etc and I dont see any mentions of this- must be missing something obvious. Is it as simple as "sudo ccm64 u" will automatically generate signatures in the local db file that match whatever package is in the local repo?

Otherwise, I think I follow you 100%: copy built packages from /var/cache/pacman/pkg (on host system), "manually index" where it generates a db file based off whats in the local repo (so that when pacman goes to pull packages from the local repo the signatures will pass), then build the package. Right?

Regardless, Firefox built fine in the chroot and its effortless compared to the mkchrootpkg way.

Thanks for the changes- I think once I understand what manually reindex means Ill have no issues.

Offline

#18 2014-09-24 08:39:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

No, I meant the db in your chroot.  Too much to type on my phone.  Look at the repo-add script provided by I believe the arch-build package.  You can copy the files to the chroot's local repo and run that to index it.  I can show you when I'm in front of my arch box.

Last edited by graysky (2014-09-24 09:53:03)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#19 2014-09-25 06:02:05

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

graysky wrote:

No, I meant the db in your chroot.  Too much to type on my phone.  Look at the repo-add script provided by I believe the arch-build package.  You can copy the files to the chroot's local repo and run that to index it.  I can show you when I'm in front of my arch box.

I see now. Makes sense...

Thanks for the addition- ccm works perfect for my uses now smile

Offline

#20 2014-10-03 19:00:24

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Glad to hear it.  I will also force packages into the chroot repo on occasion.  Basically, you just need to have one in there already (since ccm waits for at least one successful build before attempting to make the chroot repo), then just copy the pkgs into that directory and reindex:

# cp *.tar.pkg.xz $REPO/root/repo
# repo-add $REPO/root/repo/chroot_local.db.tar.gz $REPO/root/repo/*.pkg.tar.xz

Last edited by graysky (2014-10-03 19:00:52)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#21 2014-11-17 12:53:36

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

Hey, I was wondering... Does this package have an option for cleaning the chroot's local repository?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#22 2014-11-17 13:34:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

@clf - Not currently... but it would be easy enough to add one.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#23 2014-11-17 20:08:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,592
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

clfarron4 wrote:

Hey, I was wondering... Does this package have an option for cleaning the chroot's local repository?

Implemented in 2.61-1: https://github.com/graysky2/clean-chroo … 60...v2.61

Last edited by graysky (2014-11-17 20:08:15)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#24 2014-11-18 00:11:44

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

graysky wrote:
clfarron4 wrote:

Hey, I was wondering... Does this package have an option for cleaning the chroot's local repository?

Implemented in 2.61-1: https://github.com/graysky2/clean-chroo … 60...v2.61

Oh my, thanks! I was going to start this tomorrow, as I've just had a full day of lectures today.

I'll test it tomorrow as well smile


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#25 2014-11-18 00:19:01

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Clean-chroot-manager: build packages in a clean chroot (64 and 32-bit)

clfarron4 wrote:
graysky wrote:
clfarron4 wrote:

Hey, I was wondering... Does this package have an option for cleaning the chroot's local repository?

Implemented in 2.61-1: https://github.com/graysky2/clean-chroo … 60...v2.61

Oh my, thanks! I was going to start this tomorrow, as I've just had a full day of lectures today.

I'll test it tomorrow as well smile

Yeah, thanks for this addition. Ive been doing it manually and this will make it much easier smile

Offline

Board footer

Powered by FluxBB