misc/vanilla-minirootfs/vanilla-minirootfs.sh

Fri, 15 Nov 2019 20:11:00 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 15 Nov 2019 20:11:00 +0100
changeset 1210
422313c3fcbd
parent 1102
b3bf4db11233
child 1288
9867e578b1a9
permissions
-rw-r--r--

text/rarian: initial import, closes #2311

1102
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 #!/bin/busybox sh
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 #
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 #
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 #
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 #
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
17
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
18 PKGNAME=vanilla-minirootfs
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 PKGVERSION=0.2.0
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 PKGREVISION=1
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
21 PKGLICENSE="ISC"
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 PKGSUMMARY="official miniroot filesystem for chroot"
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 PKGDOWNLOAD="http://releases.malikania.fr/vanilla/${PKGVERSION%.*}/images/Vanilla-Linux-$PKGVERSION-$(vpk arch)-minirootfs.tar.xz"
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
24
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
25 build()
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 {
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
27 install -dm0755 $DESTDIR/lib/vanilla-$PKGVERSION-$(vpk arch)
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 tar xvJf Vanilla-Linux-$PKGVERSION-$(vpk arch)-minirootfs.tar.xz -C $DESTDIR/lib/vanilla-$PKGVERSION-$(vpk arch)
b3bf4db11233 misc/vanilla-minirootfs: initial import, closes #2360
David Demelier <markand@malikania.fr>
parents:
diff changeset
29 }

mercurial