Skip to content

Instantly share code, notes, and snippets.

@steev
Created February 17, 2016 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steev/6d1b3da7ad10f2e61aea to your computer and use it in GitHub Desktop.
Save steev/6d1b3da7ad10f2e61aea to your computer and use it in GitHub Desktop.
removing /storage/catalyst/tmp/default/stage1-arm64-20160216/tmp/stage1-chroot.sh from the chroot
removing /storage/catalyst/tmp/default/stage1-arm64-20160216/tmp/chroot-functions.sh from the chroot
16 Feb 2016 22:57:10 CST: NOTICE : --- Running action sequence: preclean
Copying stage1-preclean-chroot.sh to /tmp
copying stage1-preclean-chroot.sh to /storage/catalyst/tmp/default/stage1-arm64-20160216/tmp
copying chroot-functions.sh to /storage/catalyst/tmp/default/stage1-arm64-20160216/tmp
Ensure the file has the executable bit set
Running stage1-preclean-chroot.sh in chroot:
chroot /storage/catalyst/tmp/default/stage1-arm64-20160216 /tmp/stage1-preclean-chroot.sh
>>> Regenerating /tmp/stage1root/etc/ld.so.cache...
* Switching native-compiler to aarch64-unknown-linux-gnu-4.8.5 ... [ ok ]
>>> Regenerating /tmp/stage1root/etc/ld.so.cache...
* Switching to aarch64-unknown-linux-gnu-2.25.1 ... [ ok ]
>>> Regenerating /tmp/stage1root/etc/ld.so.cache...
* Please remember to run:
* # . /etc/profile
>>> Regenerating /tmp/stage1root/etc/ld.so.cache...
Skipping depclean operation for stage1
removing /storage/catalyst/tmp/default/stage1-arm64-20160216/tmp/stage1-preclean-chroot.sh from the chroot
removing /storage/catalyst/tmp/default/stage1-arm64-20160216/tmp/chroot-functions.sh from the chroot
16 Feb 2016 22:57:23 CST: NOTICE : --- Running action sequence: unbind
16 Feb 2016 22:57:24 CST: NOTICE : --- Running action sequence: clean
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /etc/resolv.conf
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /var/tmp/*
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /tmp/*
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /root/*
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /usr/portage
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /usr/share/zoneinfo
16 Feb 2016 22:57:24 CST: NOTICE : Cleaning chroot: /etc/portage/package*
16 Feb 2016 22:57:24 CST: NOTICE : --- Running action sequence: capture
16 Feb 2016 22:57:24 CST: NOTICE : Capture target in a tarball
16 Feb 2016 22:57:24 CST: NOTICE : Creating stage tarball... mode: lbzip2_x
16 Feb 2016 22:58:38 CST: NOTICE : --- Running action sequence: remove_autoresume
16 Feb 2016 22:58:38 CST: NOTICE : Removing AutoResume ...
*** Running command: catalyst -a -p -c /etc/catalyst/catalyst.conf -f stage2.spec
16 Feb 2016 22:58:38 CST: NOTICE : Loading configuration file: /etc/catalyst/catalyst.conf
16 Feb 2016 22:58:38 CST: NOTICE : Using target: stage2
16 Feb 2016 22:58:39 CST: NOTICE : Source file specification matching setting is: strict
16 Feb 2016 22:58:39 CST: NOTICE : Accepted source file extensions search order: ['tar.xz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'squashfs', 'sfs', 'tar.gz', 'gz', 'tar']
16 Feb 2016 22:58:41 CST: NOTICE : Source path set to /storage/catalyst/tmp/default/stage1-arm64-20160216/
16 Feb 2016 22:58:41 CST: NOTICE : Removing AutoResume Points ...
>>> Waiting 10 seconds before starting...
>>> (Control-C to abort)...
Purging Caches ... in: 10 9 8 7 6 5 4 3 2 1
16 Feb 2016 22:58:51 CST: NOTICE : purge(); clearing autoresume ...
16 Feb 2016 22:58:51 CST: NOTICE : Removing AutoResume Points ...
16 Feb 2016 22:58:51 CST: NOTICE : purge(); clearing chroot ...
16 Feb 2016 22:58:51 CST: NOTICE : Clearing the chroot path ...
16 Feb 2016 22:58:51 CST: NOTICE : purge(); clearing package cache ...
16 Feb 2016 22:58:51 CST: NOTICE : purging the pkgcache ...
16 Feb 2016 22:58:51 CST: NOTICE : purge(); clearing kerncache ...
16 Feb 2016 22:58:51 CST: NOTICE : purging the kerncache ...
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: unpack
16 Feb 2016 22:58:51 CST: NOTICE : No Valid Resume point detected, cleaning up...
16 Feb 2016 22:58:51 CST: NOTICE : Removing AutoResume Points ...
16 Feb 2016 22:58:51 CST: NOTICE : Clearing the chroot path ...
16 Feb 2016 22:58:51 CST: NOTICE : Starting rsync from /storage/catalyst/tmp/default/stage1-arm64-20160216/.catalyst_lock
16 Feb 2016 22:58:51 CST: NOTICE : to /storage/catalyst/tmp/default/stage2-arm64-20160216 (this may take some time) ..
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: unpack_snapshot
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: setup_confdir
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: portage_overlay
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: base_dirs
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: bind
16 Feb 2016 22:58:51 CST: NOTICE : --- Running action sequence: chroot_setup
16 Feb 2016 22:58:51 CST: NOTICE : Setting up chroot...
cp: cannot create regular file '/storage/catalyst/tmp/default/stage2-arm64-20160216/etc/': Not a directory
16 Feb 2016 22:58:51 CST: ERROR : CatalystError: cmd() NON-zero return value from: Could not copy resolv.conf into place.
16 Feb 2016 22:58:51 CST: ERROR : Exception running action sequence chroot_setup
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1417, in run
getattr(self, x)()
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1029, in chroot_setup
"Could not copy resolv.conf into place.",env=self.env)
File "/usr/lib64/python2.7/site-packages/catalyst/support.py", line 55, in cmd
print_traceback=False)
CatalystError
16 Feb 2016 22:58:51 CST: NOTICE : Cleaning up... Running unbind()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment