GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - isoft-linux/rpm

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

13,350 Commits
13,350 Commits

Folders and files

NameName
Last commit message
Last commit date
.tx
.tx
 
 
build
build
 
 
db3
db3
 
 
doc
doc
 
 
fileattrs
fileattrs
 
 
lib
lib
 
 
luaext
luaext
 
 
misc
misc
 
 
plugins
plugins
 
 
po
po
 
 
python
python
 
 
rpmio
rpmio
 
 
scripts
scripts
 
 
sign
sign
 
 
tests
tests
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
CHANGES
CHANGES
 
 
COPYING
COPYING
 
 
CREDITS
CREDITS
 
 
INSTALL
INSTALL
 
 
Makefile.am
Makefile.am
 
 
Makefile.maint
Makefile.maint
 
 
README
README
 
 
README.md
README.md
 
 
autogen.sh
autogen.sh
 
 
cliutils.c
cliutils.c
 
 
cliutils.h
cliutils.h
 
 
configure.ac
configure.ac
 
 
debug.h
debug.h
 
 
installplatform
installplatform
 
 
macros.in
macros.in
 
 
mkinstalldirs
mkinstalldirs
 
 
platform.in
platform.in
 
 
preinstall.am
preinstall.am
 
 
rpm.am
rpm.am
 
 
rpm.pc.in
rpm.pc.in
 
 
rpm2archive.c
rpm2archive.c
 
 
rpm2cpio.c
rpm2cpio.c
 
 
rpmbuild.c
rpmbuild.c
 
 
rpmdb.c
rpmdb.c
 
 
rpmkeys.c
rpmkeys.c
 
 
rpmpopt.in
rpmpopt.in
 
 
rpmqv.c
rpmqv.c
 
 
rpmrc.in
rpmrc.in
 
 
rpmsign.c
rpmsign.c
 
 
rpmspec.c
rpmspec.c
 
 
system.h
system.h
 
 

Repository files navigation

RPM Next

One day Cjacker had an idea: there are OS layer (/var/lib/rpm) and AppStore layer (/var/lib/appstore) physical isolated. so rpm -ivh/-e only install/erase Apps into/from AppStore layer, OS is totally READ-ONLY. when installing Apps, check dependency in OS layer at first, if unsatisfied depend, then switch to AppStore layer for checking dependency again, if still unsatisfied depend, add dependency problem, otherwise installed Apps successfully.

RPM isolatation design

Goal

  • keep rpm original command unbroken;
  • keep librpm original API unbroken;
  • just like Mac make install is still able to pollute OS layer;

Build

wget http://download.oracle.com/berkeley-db/db-6.1.23.tar.gz
tar xvf db-6.1.23.tar.gz
ln -s db-6.1.23 db
export CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss` -DLUA_COMPAT_APIINTCASTS"
export CFLAGS="$RPM_OPT_FLAGS -DLUA_COMPAT_APIINTCASTS"
./autogen.sh --prefix=/usr   \
    --sysconfdir=/etc   \
    --localstatedir=/var    \
    --with-archive  \
    --with-lua  \
    --with-cap  \
    --enable-plugins    \
    --enable-python \
    --with-vendor=aosc \
    --enable-debug=yes

isoftapp db

rpm --initdb --dbpath /var/lib/isoft-app

RPM Next command

rpm --eval %__cmake
rpm --eval %_libdir
rpm --eval %_unitdir
sudo rpm -e firefox-i18n-40.0-1.x86_64 firefox-40.0-12.x86_64
sudo rpm -ivh --isoftapp firefox-40.0-12.x86_64.rpm
rpm -q firefox
rpm -q --isoftapp firefox
rpm -V firefox
rpm -V --isoftapp firefox
sudo rpm -e firefox
sudo rpm -e --isoftapp firefox
sudo rpm --import --isoftapp ISOFT-APP-GPG-KEY
rpm --resign /data/download/firefox-40.0-12.x86_64.rpm 
rpm -qip --isoftapp /data/download/firefox-40.0-12.x86_64.rpm
rpmbuild --isoftapp -ba rakudo-star.spec 
错误:构建依赖失败:
        libtommath-devel 被 rakudo-star-0.0.2015.09-1.x86_64 需要
        moarvm-devel 被 rakudo-star-0.0.2015.09-1.x86_64 需要
        nqp >= 0.0.2015.09 被 rakudo-star-0.0.2015.09-1.x86_64 需要
        sha-devel 被 rakudo-star-0.0.2015.09-1.x86_64 需要
sudo rpm --isoftapp -ivh libtommath*.rpm
rpmbuild --isoftapp -ba rakudo-star.spec
sudo rpm -ivh --isoftapp libtar-1.2.20-1.x86_64.rpm
rpm -q --isoftapp libtar
rpm -q libtar
sudo rpm -e libtar
sudo rpm -e --isoftapp libtar

About

No description, website, or topics provided.

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.