summaryrefslogtreecommitdiff
path: root/doc/todo/unpropelling_a_host/comment_1_e397bfa77303a244711fd2705371e879._comment
blob: f236fac46d37da58d160132599a69e7fc810bd6f (plain)
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
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2017-10-04T17:11:42Z"
 content="""
All this property needs to do when `inChroot` is True is unmount anything
bound below /usr/local/propellor and delete that directory, which should be
empty.

OF course it's harder to implement it for use outside a chroot, but a
property that works in a chroot would be enough for sbuild and would be a
reasonable start.

I don't think there's any sane way to remove cabal and stack cruft
without deleting it all.

Seems like to uninstall the build deps, it would be useful to get the build
deps installed in the first place in a way that makes `apt-get autoremove`
able to remove them. Currently, Bootstrap.depsCommand hardcodes
a list of debian packages. It could instead just install propellor.deb,
which depends on the same stuff, so the build deps get autoremoved after
propellor is removed. 

But, different versions of the propellor package might have different deps
than the version of propellor being bootstrapped.
"""]]