From: Igor Vlasenko <vlasenko@imath.kiev.ua> To: devel@lists.altlinux.org Subject: [devel] I: hasher-rich-chroot-user-utils Date: Wed, 21 May 2014 15:32:40 +0300 Message-ID: <20140521123239.GA22389@dad.imath.kiev.ua> (raw) Господа, презентую пакет hasher-rich-chroot-user-utils, удобная вещь, если нужно оптом починить от десятка пакетов. Зачем оно нужно. последние пол года мне постоянно приходится оптом чинить сломанные пакеты, десятками, а в иной день и сотнями. Заметил, что на автомате запускаю пересборку, когда она выбила - вызываю из истории $ hsh-install mc vim-console less unzip elfutils rpm-utils $ hsh-shell --mountpoint=/proc,/dev/pts и далее каждый раз руками вбиваю /.in $ cd /usr/src/RPM/SPECS vim blabla.spec rpmbuild -ba ... Этот тренажер клавиатуры у меня уже в моторной памяти сидит. пакет из сабжа позволит продлить жизнь клавиатуры. теперь я вызываю из истории hsh-install-rich-chroot hsh-shell --mountpoint=/proc,/dev/pts и ура - стрелка вверх выводит cd /usr/src/RPM/SPECS. bash_history содержит и другие полезные команды, cat >> ~/.bash_history << EOF ls /usr/src/tmp/*-buildroot/ diff -u ../COPY/$spec $spec rpmbuild -ba $spec 2>&1 | tee log vim $spec cd /usr/src/RPM/SPECS EOF а также заполнен ~/.config/mc/hotlist. cat >> ~/.config/mc/hotlist <<'EOF' ENTRY "/usr/src/RPM/SPECS" URL "/usr/src/RPM/SPECS" ENTRY "/usr/src/RPM/BUILD" URL "/usr/src/RPM/BUILD" ENTRY "/usr/src/RPM/SOURCES" URL "/usr/src/RPM/SOURCES" ENTRY "/usr/src/RPM" URL "/usr/src/RPM" ENTRY "/usr/src/tmp" URL "/usr/src/tmp" ENTRY "/.in" URL "/.in" EOF PROFIT! -- Igor Vlasenko
next reply other threads:[~2014-05-21 12:32 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-21 12:32 Igor Vlasenko [this message] 2014-05-22 3:41 ` Eugene Prokopiev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20140521123239.GA22389@dad.imath.kiev.ua \ --to=vlasenko@imath.kiev.ua \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git