-
Notifications
You must be signed in to change notification settings - Fork 0
/
cnest.spec
111 lines (92 loc) · 4.18 KB
/
cnest.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Name: cnest
Version: 2.1
Release: 2%{?dist}
Summary: Simple scripts for personalized persistent controlled containers
License: MIT
URL: https://github.com/castedo/cnest
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: bash, coreutils
Requires: podman >= 4.4
# macro %{bash_completions_dir} is defined by the epel-rpm-macros package to
# %{_datadir}/bash-completion/completions
%description
Simple scripts for personalized persistent controlled containers designed
to be:
* personalized: with rootless podman into containers personalized for local user
* persistent: with mutable "pet" containers where you can interactively run dnf,
apt-get, change settings, etc...
* controlled: isolated by default, home is not mounted, only a minimal number of podman
options are enabled, additional options are passed through to podman
%prep
%autosetup -n cnest-%{version}
%build
%install
install -d %{buildroot}%{_bindir}
install -pm 0755 -t %{buildroot}%{_bindir} bin/cnest bin/cnest-ls bin/create-cnest
install -Dpm 0644 -t %{buildroot}%{bash_completions_dir} completion/cnest
ln -s cnest %{buildroot}%{bash_completions_dir}/create-cnest
%files
%{_bindir}/cnest
%{_bindir}/cnest-ls
%{_bindir}/create-cnest
%{bash_completions_dir}/cnest
%{bash_completions_dir}/create-cnest
%doc README.md
%license LICENSE
%changelog
* Tue Oct 08 2024 Castedo Ellerman <[email protected]> 2.1-2
- avoid UID collisions with image; no add sudo group ([email protected])
- fix completion load delay ([email protected])
* Thu Oct 03 2024 Castedo Ellerman <[email protected]> 2.0-1
- drop Python code, create-nest and other obsolete files ([email protected])
- remove obsolete cnest-entry feature ([email protected])
- remove obsolete cnestify script ([email protected])
- use --init instead of --pid=host ([email protected])
- don't set podman defaults ([email protected])
- bash completion for cnest and create-cnest ([email protected])
- new create-cnest and cnest-ls utilities ([email protected])
- container name in prompt without touching hostname ([email protected])
* Tue Sep 05 2023 Castedo Ellerman <[email protected]> 1.8-1
- v1.8 bump; hashbang /usr/bin ([email protected])
- run sleep inf as root, not user ([email protected])
- add container network name to /etc/hosts file ([email protected])
* Sat Aug 27 2022 Castedo Ellerman <[email protected]> 1.7-2
- fix invalid --entry param default (issue #16) ([email protected])
- Update install.md ([email protected])
* Sat Apr 02 2022 Castedo Ellerman <[email protected]> 1.6-1
- move change of container directory logic into host cnest; 1.6
- typos ([email protected])
- add doc section about cnestify ([email protected])
- fix out of date create-nest documentation ([email protected])
- Fix issue #10; make smoketest less annoyingly slow ([email protected])
- some tips-n-tricks for the docs ([email protected])
- update pip install directions version ([email protected])
* Mon Jan 17 2022 Castedo Ellerman <[email protected]> 1.5-2
- make rpm and Python package versions equal ([email protected])
* Mon Jan 17 2022 Castedo Ellerman <[email protected]> 1.5-1
- cd to home when dir not match; cnestify run as root
- remove workdir setting in cnest ([email protected])
* Thu Jan 13 2022 Castedo Ellerman <[email protected]> 1.4-1
- rpm using python package install
- fix bug caused by temp use of tags
- cnestify build from Dockerfile; robustness fixes
- bug fixes; more predictable behavior
- better error handling on permission profiles
- fix bugs; add groups and stowhome cnestify options
- port cnestify-image to Python
- pip installable
- no repository in profiles; new create-nest-by-tag
- new cnestify-image; elim build-nest-image
* Fri Jan 07 2022 Castedo Ellerman <[email protected]> 1.3-1
- Eliminate OSVIRTALIAS
- make cnest provide pwd and inode to container session
- eliminate hack sourcing from within profile files
* Sun Jan 02 2022 Castedo Ellerman <[email protected]> 1.2-1
- get single rpm working on fedora 35
- bug fixes
- include one profile for very isolated nests
- stop container when no more exec sessions
* Mon Sep 06 2021 Castedo Ellerman <[email protected]> 1-2
- new package built with tito