惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 聂微东
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
博客园 - 【当耐特】
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
博客园 - 司徒正美
博客园 - Franky
爱范儿
爱范儿
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
量子位
博客园 - 叶小钗
博客园_首页
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
The Cloudflare Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - source-to-image-bin
2026-06-05 · via AUR Newest Packages

Latest Comments

EvaristeGalois11 commented on 2025-03-09 15:44 (UTC)

Upstream has not provided the binaries for the 1.5.0 version yet, it isn't clear if it's an error or they don't want to distribute the compiled binaries anymore.

I'll leave the out-of-date flag for now.

gangelop commented on 2017-11-04 10:55 (UTC) (edited on 2017-11-04 11:46 (UTC) by gangelop)

One more improvement: s2i can generate bash and zsh completion files. We can make that part of the package. --- PKGBUILD.old 2017-11-04 11:51:48.947022371 +0100 +++ PKGBUILD 2017-11-04 12:44:51.888859102 +0100 @@ -3,7 +3,7 @@ _release=v1.1.7 _commit=226afa1 pkgver=1.1.7 -pkgrel=4 +pkgrel=5 pkgdesc="A tool for building/building artifacts from source and injecting into docker images" arch=('i686' 'x86_64') url="https://github.com/openshift/source-to-image" @@ -12,10 +12,13 @@ md5sums=('e23e47bdef21a82e091512cc83080d4e') build() { - echo "Installing source-to-image" + $srcdir/s2i completion bash > $srcdir/s2i.bash + $srcdir/s2i completion zsh > $srcdir/s2i.zsh } package() { install -D -m755 $srcdir/s2i $pkgdir/usr/bin/s2i + install -D -m755 $srcdir/s2i.bash $pkgdir/usr/share/bash-completion/completions/s2i + install -D -m755 $srcdir/s2i.zsh $pkgdir/usr/share/zsh/site-functions/_s2i ln -s s2i $pkgdir/usr/bin/sti }

gangelop commented on 2017-11-03 22:59 (UTC)

> I didn't know how to handle symbolic links in PKGBUILD. Me neither, apparently :) Now to find out how to create docker images with s2i......

drejmar commented on 2017-11-03 22:51 (UTC)

Hi George. Thanks for your advice. I didn't know how to handle symbolic links in PKGBUILD.

gangelop commented on 2017-11-03 22:44 (UTC)

Also, I made an error in my initial comment. If you use "install" as I suggested, it will install a copy of the actual binary and not a symlink. So just simply create the symlink with ln. package() { install -D -m755 $srcdir/s2i $pkgdir/usr/bin/s2i ln -s s2i $pkgdir/usr/bin/sti }

gangelop commented on 2017-11-03 22:40 (UTC)

I see you implemented my suggestions. But now there is another issue. ==> Starting build()... Installing source-to-image /home/george/aur/openshift-source-to-image/PKGBUILD: line 16: s2i: command not found ==> ERROR: A failure occurred in build(). Aborting... build() { echo "Installing source-to-image" s2i <====== why? }

gangelop commented on 2017-11-03 16:48 (UTC)

Hi Andrej. Some feedback: You don't need the .install script to create a symlink in post_install. You can do it within the PKGBUILD in the package() function. Also, upstream currently provides the symlink in the tar, so you can just copy it along with the executable, like this: package() { install -D -m755 $srcdir/s2i $pkgdir/usr/bin/s2i install -D -m755 $srcdir/sti $pkgdir/usr/bin/sti } and completely remove the install=${pkgname}.install