Немного не то имел ввиду.
Вот простенькие каракули сделал, чтоб не делать все руками, просто запустил и пошел чаи гонять.
$ ./hashinstall.sh
Запущена автоматическая установка Hasher
Создаю каталог hasher в домашней директории текущего пользователя /home/rupor/hasher
Каталог создан
Идет создание сборочного окружения в каталоге /home/rupor/hasher
Это может занять длительное время
Просьба подождать...
<13>Apr 29 18:51:01 rpmi: setup-2.2.14-alt1 installed
<13>Apr 29 18:51:01 rpmi: filesystem-2.3.11-alt1 installed
<13>Apr 29 18:51:01 rpmi: glibc-preinstall-6:2.17-alt8 installed
<13>Apr 29 18:51:02 rpmi: glibc-core-6:2.17-alt8 installed
<13>Apr 29 18:51:02 rpmi: libattr-2.4.46-alt2 installed
<13>Apr 29 18:51:02 rpmi: sh-3.2.54-alt0.M70P.1 installed
<13>Apr 29 18:51:03 rpmi: libpopt-1:1.14-alt8 installed
<13>Apr 29 18:51:03 rpmi: libpcre3-8.33-alt2 installed
<13>Apr 29 18:51:03 rpmi: libselinux-2.1.12-alt1 installed
<13>Apr 29 18:51:04 rpmi: grep-2.14-alt3 installed
<13>Apr 29 18:51:04 rpmi: libacl-2.2.51-alt1 installed
<13>Apr 29 18:51:04 rpmi: libcap-1:2.24-alt1 installed
<13>Apr 29 18:51:04 rpmi: bzlib-1:1.0.6-alt3 installed
<13>Apr 29 18:51:05 rpmi: libgmp10-5.1.2-alt2 installed
<13>Apr 29 18:51:05 rpmi: libgcc1-4.7.2-alt7 installed
<13>Apr 29 18:51:05 rpmi: glibc-pthread-6:2.17-alt8 installed
<13>Apr 29 18:51:06 rpmi: libbeecrypt7-4.2.1-alt7 installed
<13>Apr 29 18:51:06 rpmi: libdb4.7-4.7.25-alt8 installed
<13>Apr 29 18:51:06 rpmi: getopt-2.22.1-alt1 installed
<13>Apr 29 18:51:06 rpmi: libelf-0.155-alt2 installed
<13>Apr 29 18:51:07 rpmi: liblzma-5.0.4-alt1 installed
<13>Apr 29 18:51:07 rpmi: zlib-1.2.8-alt1 installed
<13>Apr 29 18:51:07 rpmi: librpm-4.0.4-alt100.76.M70P.1 installed
<13>Apr 29 18:51:07 rpmi: librpmbuild-4.0.4-alt100.76.M70P.1 installed
<13>Apr 29 18:51:08 rpmi: terminfo-5.9-alt3 installed
<13>Apr 29 18:51:08 rpmi: libtinfo-5.9-alt3 installed
<13>Apr 29 18:51:08 rpmi: coreutils-8.21-alt1 installed
<13>Apr 29 18:51:09 rpmi: alt-gpgkeys-0.7.75-alt1 installed
<13>Apr 29 18:51:09 rpmi: fakeroot-1.18.4-alt1 installed
<13>Apr 29 18:51:09 rpmi: rpm-4.0.4-alt100.76.M70P.1 installed
<13>Apr 29 18:51:22 rpmi: sed-1:4.2.2-alt2 installed
<13>Apr 29 18:51:23 rpmi: perl-base-1:5.16.3-alt1 installed
<13>Apr 29 18:51:23 rpmi: findutils-4.5.11-alt3 installed
<13>Apr 29 18:51:24 rpmi: diffutils-3.3-alt1 installed
<13>Apr 29 18:51:24 rpmi: control-0.7.6-alt1 installed
<13>Apr 29 18:51:24 rpmi: gawk-4.0.2-alt3 installed
<13>Apr 29 18:51:26 rpmi: tar-1.26.90-alt1 installed
<13>Apr 29 18:51:26 rpmi: glibc-kernheaders-3.8.4-alt1 installed
<13>Apr 29 18:51:27 rpmi: m4-1.4.16-alt5 installed
<13>Apr 29 18:51:27 rpmi: automake-common-0.3-alt1 installed
<13>Apr 29 18:51:27 rpmi: gzip-1.5-alt2 installed
<13>Apr 29 18:51:28 rpmi: bzip2-1:1.0.6-alt3 installed
<13>Apr 29 18:51:28 rpmi: libshell-0.1.8-alt1 installed
<13>Apr 29 18:51:28 rpmi: rpm-macros-info-install-4.13-alt9 installed
<13>Apr 29 18:51:29 rpmi: libgpm-1.20.1-alt13 installed
<13>Apr 29 18:51:29 rpmi: gnu-config-1.0.626.20f0b7e-alt1 installed
<13>Apr 29 18:51:29 rpmi: psmisc-22.20-alt1 installed
<13>Apr 29 18:51:30 rpmi: libmpfr4-3.1.1-alt1 installed
<13>Apr 29 18:51:30 rpmi: autoconf-common-0.3-alt1 installed
<13>Apr 29 18:51:31 rpmi: ed-1:0.2-alt9 installed
<13>Apr 29 18:51:31 rpmi: xz-5.0.4-alt1 installed
<13>Apr 29 18:51:31 rpmi: libaudit1-2.2.3-alt1 installed
<13>Apr 29 18:51:32 rpmi: libtcb-1.1-alt1 installed
<13>Apr 29 18:51:32 rpmi: shadow-convert-1:4.1.4.2-alt8 installed
<13>Apr 29 18:51:32 rpmi: common-licenses-1.3-alt1 installed
<13>Apr 29 18:51:33 rpmi: libreadline-5.2.14-alt3 installed
<13>Apr 29 18:51:33 rpmi: bash-3.2.54-alt0.M70P.1 installed
<13>Apr 29 18:51:34 rpmi: nss_tcb-1.1-alt1 installed
<13>Apr 29 18:51:34 rpmi: libmpc-0.9-alt2 installed
<13>Apr 29 18:51:34 rpmi: libncurses-5.9-alt3 installed
<13>Apr 29 18:51:34 rpmi: libncursesw-5.9-alt3 installed
<13>Apr 29 18:51:35 rpmi: makeinfo-4.13-alt9 installed
<13>Apr 29 18:51:35 rpmi: pam-config-control-1.7.0-alt1 installed
<13>Apr 29 18:51:35 rpmi: passwdqc-control-1.2.3-alt1 installed
<13>Apr 29 18:51:36 rpmi: libpasswdqc-1.2.3-alt1 installed
<13>Apr 29 18:51:36 rpmi: pam-config-1.7.0-alt1 installed
<13>Apr 29 18:51:37 rpmi: libpam0-1.1.6-alt2 installed
<13>Apr 29 18:51:37 rpmi: pam0_tcb-1.1-alt1 installed
<13>Apr 29 18:51:38 rpmi: pam-1.1.6-alt2 installed
<13>Apr 29 18:51:38 rpmi: tcb-utils-1.1-alt1 installed
<13>Apr 29 18:51:38 rpmi: pam0_userpass-1.0.2-alt6 installed
<13>Apr 29 18:51:39 rpmi: pam0_mktemp-1.1.1-alt3 installed
<13>Apr 29 18:51:39 rpmi: pam0_passwdqc-1.2.3-alt1 installed
<13>Apr 29 18:51:39 rpmi: pam0-config-1.7.0-alt1 installed
<13>Apr 29 18:51:40 rpmi: shadow-utils-1:4.1.4.2-alt8 installed
<13>Apr 29 18:51:40 rpmi: etcskel-2.0.13-alt1 installed
<13>Apr 29 18:51:41 rpmi: util-linux-control-2.22.1-alt1 installed
<13>Apr 29 18:51:41 rpmi: tzdata-2014i-alt1 installed
<13>Apr 29 18:51:42 rpmi: glibc-timezones-6:2.17-alt8 installed
<13>Apr 29 18:51:42 rpmi: rpm-build-perl-0.83-alt1 installed
<13>Apr 29 18:51:42 rpmi: glibc-utils-6:2.17-alt8 installed
<13>Apr 29 18:51:43 rpmi: perl-threads-1:5.16.3-alt1 installed
<13>Apr 29 18:51:43 rpmi: which-2.20-alt2.qa1 installed
<13>Apr 29 18:51:43 rpmi: tex-common-0.2-alt4 installed
<13>Apr 29 18:51:44 rpmi: texi2dvi-4.13-alt9 installed
<13>Apr 29 18:51:44 rpmi: texinfo-4.13-alt9 installed
<13>Apr 29 18:51:45 rpmi: patch-2.7.1-alt3 installed
<13>Apr 29 18:51:46 rpmi: make-2:3.82-alt5 installed
<13>Apr 29 18:51:46 rpmi: libzio-0.99-alt8 installed
<13>Apr 29 18:51:46 rpmi: info-install-4.13-alt9 installed
<13>Apr 29 18:51:46 rpmi: libtool-common-0.2.1-alt1 installed
<13>Apr 29 18:51:47 rpmi: libpython-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:51:47 rpmi: python-base-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:51:48 rpmi: libprocps-3.3.7-alt1.M70P.1 installed
<13>Apr 29 18:51:48 rpmi: procps-3.3.7-alt1.M70P.1 installed
<13>Apr 29 18:51:49 rpmi: libunistring-0.9.3-alt3 installed
<13>Apr 29 18:51:49 rpmi: xml-common-0.6.3-alt14 installed
<13>Apr 29 18:51:49 rpmi: libxml2-1:2.9.0-alt1 installed
<13>Apr 29 18:51:50 rpmi: glib2-locales-2.36.4-alt0.M70P.2 installed
<13>Apr 29 18:51:50 rpmi: libffi-1:3.0.10-alt1 installed
<13>Apr 29 18:51:51 rpmi: glib2-2.36.4-alt0.M70P.2 installed
<13>Apr 29 18:51:51 rpmi: libcroco-0.6.8-alt1 installed
<13>Apr 29 18:51:52 rpmi: pkg-config-0.25-alt2 installed
<13>Apr 29 18:51:52 rpmi: gettext-0.18.2.1-alt1 installed
<13>Apr 29 18:51:52 rpmi: sysvinit-utils-2.88-alt4 installed
<13>Apr 29 18:51:53 rpmi: libtic-5.9-alt3 installed
<13>Apr 29 18:51:53 rpmi: termutils-5.9-alt3 installed
<13>Apr 29 18:51:54 rpmi: glibc-gconv-modules-6:2.17-alt8 installed
<13>Apr 29 18:51:54 rpmi: iconv-6:2.17-alt8 installed
<13>Apr 29 18:51:57 rpmi: glibc-locales-6:2.17-alt8 installed
<13>Apr 29 18:51:57 rpmi: glibc-nss-6:2.17-alt8 installed
<13>Apr 29 18:51:57 rpmi: glibc-6:2.17-alt8 installed
<13>Apr 29 18:51:58 rpmi: libstdc++6-4.7.2-alt7 installed
<13>Apr 29 18:51:58 rpmi: libmagic-4.26-alt11 installed
<13>Apr 29 18:51:58 rpmi: file-4.26-alt11 installed
<13>Apr 29 18:51:59 rpmi: rpm-build-python-0.36.2-alt1 installed
<13>Apr 29 18:51:59 rpmi: emacs-base-0.0.7-alt1 installed
<13>Apr 29 18:52:00 rpmi: elfutils-0.155-alt2 installed
<13>Apr 29 18:52:00 rpmi: cpio-2.11-alt2 installed
<13>Apr 29 18:52:01 rpmi: chkconfig-1.3.59-alt4 installed
<13>Apr 29 18:52:01 rpmi: service-0.5.26-alt1 installed
<13>Apr 29 18:52:02 rpmi: kernel-headers-common-1.2.4-alt1 installed
<13>Apr 29 18:52:02 rpmi: glibc-devel-6:2.17-alt8 installed
<13>Apr 29 18:52:03 rpmi: bison-runtime-2.7.1-alt1 installed
<13>Apr 29 18:52:03 rpmi: bison-2.7.1-alt1 installed
<13>Apr 29 18:52:03 rpmi: rpm-macros-alternatives-0.4.5-alt1 installed
<13>Apr 29 18:52:04 rpmi: alternatives-0.4.5-alt1 installed
<13>Apr 29 18:52:07 rpmi: binutils-1:2.23.51.0.1-alt2 installed
<13>Apr 29 18:52:07 rpmi: autoconf_2.60-2:2.68-alt3 installed
<13>Apr 29 18:52:08 rpmi: automake_1.11-1.11.6-alt3 installed
<13>Apr 29 18:52:08 rpmi: libtool_2.4-2.4.2-alt2 installed
<13>Apr 29 18:52:09 rpmi: gettext-tools-0.18.2.1-alt1 installed
<13>Apr 29 18:52:09 rpmi: gcc-common-1.4.16-alt1 installed
<13>Apr 29 18:52:14 rpmi: cpp4.7-4.7.2-alt7 installed
<13>Apr 29 18:52:15 rpmi: vim-minimal-4:7.3.353-alt2 installed
<13>Apr 29 18:52:15 rpmi: vitmp-1.0-alt4.qa1 installed
<13>Apr 29 18:52:15 rpmi: libuuid-2.22.1-alt1 installed
<13>Apr 29 18:52:16 rpmi: libblkid-2.22.1-alt1 installed
<13>Apr 29 18:52:16 rpmi: libmount-2.22.1-alt1 installed
<13>Apr 29 18:52:17 rpmi: util-linux-2.22.1-alt1 installed
<13>Apr 29 18:52:17 rpmi: rootfiles-alt-alt11 installed
<13>Apr 29 18:52:17 rpmi: branding-sisyphus-server-light-release-1.1.5-alt1 installed
<13>Apr 29 18:52:18 rpmi: basesystem-1:sisyphus-alt21 installed
<13>Apr 29 18:52:18 rpmi: sisyphus_check-0.8.39-alt1 installed
<13>Apr 29 18:52:18 rpmi: time-1:1.7-alt3 installed
<13>Apr 29 18:52:20 rpmi: gcc4.7-4.7.2-alt7 installed
<13>Apr 29 18:52:20 rpmi: libgcov4.7-devel-4.7.2-alt7 installed
<13>Apr 29 18:52:20 rpmi: rpm-build-4.0.4-alt100.76.M70P.1 installed
<86>Apr 29 18:53:02 groupadd[3058]: group added to /etc/group: name=caller, GID=500
<86>Apr 29 18:53:02 groupadd[3058]: group added to /etc/gshadow: name=caller
<86>Apr 29 18:53:02 groupadd[3058]: new group: name=caller, GID=500
<86>Apr 29 18:53:02 useradd[3062]: new user: name=caller, UID=500, GID=500, home=/, shell=/bin/bash
<86>Apr 29 18:53:02 groupadd[3067]: group added to /etc/group: name=rooter, GID=501
<86>Apr 29 18:53:02 groupadd[3067]: group added to /etc/gshadow: name=rooter
<86>Apr 29 18:53:02 groupadd[3067]: new group: name=rooter, GID=501
<86>Apr 29 18:53:02 useradd[3071]: new user: name=rooter, UID=501, GID=501, home=/root, shell=/bin/bash
<86>Apr 29 18:53:02 groupadd[3076]: group added to /etc/group: name=builder, GID=502
<86>Apr 29 18:53:02 groupadd[3076]: group added to /etc/gshadow: name=builder
<86>Apr 29 18:53:02 groupadd[3076]: new group: name=builder, GID=502
<86>Apr 29 18:53:02 useradd[3080]: new user: name=builder, UID=502, GID=502, home=/usr/src, shell=/bin/bash
Сборочное окружение успешно создано
Устанавливаю программное обеспечение в сборочную среду
Список ПО для установки:
Файловый менеджер: mc
Комплект для сборки rpm пакетов: etersoft-build-utils
+ Подробно о пакете: http://www.altlinux.org/Etersoft-build-utils
<13>Apr 29 18:53:26 rpmi: rsync-3.0.9-alt2 installed
<13>Apr 29 18:53:26 rpmi: less-451-alt1 installed
<13>Apr 29 18:53:26 rpmi: libcom_err-1.42.7-alt1 installed
<13>Apr 29 18:53:27 rpmi: ca-certificates-2012.01.17-alt1 installed
<13>Apr 29 18:53:27 rpmi: libcrypto10-1.0.1k-alt1.M70P.1 installed
<13>Apr 29 18:53:28 rpmi: libssh2-1.4.3-alt1 installed
<13>Apr 29 18:53:28 rpmi: openssh-common-5.9p1-alt7 installed
<13>Apr 29 18:53:29 rpmi: libe2fs-1.42.7-alt1 installed
<13>Apr 29 18:53:29 rpmi: libpng15-1.5.21-alt0.M70P.1 installed
<13>Apr 29 18:53:29 rpmi: libslang2-2.2.4-alt2 installed
<13>Apr 29 18:53:30 rpmi: strace-4.10-alt1 installed
<13>Apr 29 18:53:30 rpmi: rpm-utils-0.9.17-alt1 installed
<13>Apr 29 18:53:31 rpmi: libnatspec-0.2.6-alt2.qa3 installed
<13>Apr 29 18:53:31 rpmi: unzip-6.0-alt2.qa1 installed
<13>Apr 29 18:53:31 rpmi: faketime-0.2.5-alt1 installed
<13>Apr 29 18:53:32 rpmi: srpmcmp-0.3-alt1 installed
<13>Apr 29 18:53:32 rpmi: rpm-build-compat-1.8.0-alt0.M70P.1 installed
<13>Apr 29 18:53:32 rpmi: libexpat-2.1.0-alt1 installed
<13>Apr 29 18:53:33 rpmi: libedit-3.0.20121213-alt1 installed
<13>Apr 29 18:53:33 rpmi: libgdbm-1.8.3-alt9 installed
<13>Apr 29 18:53:33 rpmi: diffstat-1.56-alt1 installed
<13>Apr 29 18:53:33 rpmi: libkeyutils-1.5.1-alt1 installed
<13>Apr 29 18:53:34 rpmi: libkrb5-1.11.2-alt3 installed
<86>Apr 29 18:53:34 groupadd[3392]: group added to /etc/group: name=sshagent, GID=499
<86>Apr 29 18:53:34 groupadd[3392]: group added to /etc/gshadow: name=sshagent
<86>Apr 29 18:53:34 groupadd[3392]: new group: name=sshagent, GID=499
<13>Apr 29 18:53:35 rpmi: openssh-clients-5.9p1-alt7 installed
<13>Apr 29 18:53:35 rpmi: libssl10-1.0.1k-alt1.M70P.1 installed
<13>Apr 29 18:53:35 rpmi: libidn-1.27-alt1 installed
<13>Apr 29 18:53:36 rpmi: libcurl-7.31.0-alt2.M70P.1 installed
<13>Apr 29 18:53:37 rpmi: git-core-2.1.4-alt0.M70P.1 installed
<13>Apr 29 18:53:37 rpmi: giter-0.5-alt0.M70P.1 installed
<13>Apr 29 18:53:38 rpmi: gear-2.0.3-alt1 installed
<13>Apr 29 18:53:38 rpmi: curl-7.31.0-alt2.M70P.1 installed
<13>Apr 29 18:53:38 rpmi: checkbashisms-2.12.6-alt1 installed
<13>Apr 29 18:53:39 rpmi: setproctitle-0.3.2-alt3 installed
<86>Apr 29 18:53:39 groupadd[3402]: group added to /etc/group: name=_gnupg, GID=498
<86>Apr 29 18:53:39 groupadd[3402]: group added to /etc/gshadow: name=_gnupg
<86>Apr 29 18:53:39 groupadd[3402]: new group: name=_gnupg, GID=498
<13>Apr 29 18:53:39 rpmi: gnupg-1.4.15-alt1 installed
<13>Apr 29 18:53:40 rpmi: apt-conf-branch-7.0.0-alt3 installed
<13>Apr 29 18:53:40 rpmi: liblua5.1-5.1.4-alt5 installed
<13>Apr 29 18:53:40 rpmi: libapt-0.5.15lorg2-alt42.M70P.2 installed
<13>Apr 29 18:53:41 rpmi: apt-0.5.15lorg2-alt42.M70P.2 installed
<13>Apr 29 18:53:41 rpmi: eepm-1.5.8-alt0.M70P.1 installed
<13>Apr 29 18:53:42 rpmi: mc-4.8.14-alt1.M70P.1 installed
<13>Apr 29 18:53:43 rpmi: python-modules-encodings-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:53:43 rpmi: python-modules-compiler-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:53:44 rpmi: python-modules-email-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:53:45 rpmi: python-modules-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:53:46 rpmi: patool-1.2-alt0.M70P.1 installed
<13>Apr 29 18:53:46 rpmi: erc-0.5-alt0.M70P.1 installed
<13>Apr 29 18:53:47 rpmi: python-modules-unittest-2.7.6-alt2.M70P.1 installed
<13>Apr 29 18:53:47 rpmi: etersoft-build-utils-2.2.2-alt0.M70P.1 installed
Установка завершена
Думаю может еще макросы прилепить.
Что-то такое хочется, только не от криворукого меня, а от специалиста.