Rename rc to reflect its git origins. Create a new maintenance tool, stuff_core, to automagically move all dependencies from other repos to core. Hopefully it works.
This commit is contained in:
parent
ac52eeecf9
commit
f63252ef46
8
MAINT_TOOLS/stuff_core.rc
Normal file
8
MAINT_TOOLS/stuff_core.rc
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/rc
|
||||
|
||||
fn enum_core_deps { for (i in `{cat /var/db/kiss/repos/kiss-mfavila/core-mod/core/*/depends|cut -f1 -d' '}){printf '%s\n' $i}}
|
||||
|
||||
fn get_dep_paths { list=`{for (i in `{for (i in `enum_core_deps){kiss search $i|grep -v installed|grep -v 'core-mod/core'}}){printf '%s\n' $i}}
|
||||
printf %s\n $list|tr ' ' '\n'|sort|uniq}
|
||||
|
||||
fn move_deps { for (i in `get_dep_paths){sup mv $i /var/db/kiss/repos/kiss-mfavila/core-mod/core/}}
|
3
ports/rc-git/depends
Normal file
3
ports/rc-git/depends
Normal file
@ -0,0 +1,3 @@
|
||||
autoconf make
|
||||
automake make
|
||||
editline
|
@ -1,3 +0,0 @@
|
||||
autoconf
|
||||
automake
|
||||
editline
|
@ -1,23 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/bin \
|
||||
--libdir=/usr/lib \
|
||||
--enable-libuuid \
|
||||
--enable-libblkid \
|
||||
--enable-fsck \
|
||||
--disable-makeinstall-chown \
|
||||
--disable-rpath \
|
||||
--without-udev \
|
||||
--without-python \
|
||||
--without-systemd
|
||||
|
||||
make
|
||||
make DESTDIR="$1" install
|
||||
|
||||
# Fix broken --sbindir.
|
||||
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
||||
rmdir "$1/usr/sbin"
|
@ -1 +0,0 @@
|
||||
09fac242172cd8ec27f0739d8d192402c69417617091d8c6e974841568f37eed
|
@ -1,2 +0,0 @@
|
||||
linux-headers make
|
||||
|
@ -1 +0,0 @@
|
||||
https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-2.36.1.tar.xz
|
@ -1 +0,0 @@
|
||||
2.36.1 1
|
Loading…
Reference in New Issue
Block a user