Exclude package in slacker

Marvell Kirkwood based
Post Reply
User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Exclude package in slacker

Post by MrDini » Sat Dec 24, 2016 9:16 pm

Done, thanks! :)

BTW: Do You know an except selector in bash? :D
Thanks nas-central the lot of help! :)


User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: HOWTO: Install/Upgrade MiniDLNA on FFP 0.7-arm

Post by MrDini » Mon Dec 26, 2016 2:51 pm

To be clear, I am looking for an exclude selector. For example, I have a directory called 'folder', and I want to select all files, except the a.txt and the test.html. The whole select Can be easily done by:

/path/to/folder/*

But I want do cut theese two files from the selection. Can it be done using only one command?
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2387
Joined: Sun Apr 29, 2012 5:24 pm

Re: HOWTO: Install/Upgrade MiniDLNA on FFP 0.7-arm

Post by barmalej2 » Mon Dec 26, 2016 7:54 pm

It depends, what do you want to do further with these files?

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: HOWTO: Install/Upgrade MiniDLNA on FFP 0.7-arm

Post by MrDini » Mon Dec 26, 2016 8:39 pm

The files was just an example, because it is easier to understand, what I mean (I thought)... But I want to Do it with the slacker tool. For example, the command looks like this:

Code: Select all

slacker -aA br2:ffmpeg2/
Normally, it should select, and after an Ok reinstall all the packages at Your ffmpeg2 folder. But I am looking for a selector, which remove the rtmpdump package (just an example, I wanted to Do it with the ffmpegthumbnailer originally) from the auto selected ([ * ]) packages without manual listing the package names, that I want to reinstall.

If I want to Do it with files, I Can redirect the ls output to a variable and after it, simply remove the file pathes, that are excluded. But with packages, that is more complicated...
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2387
Joined: Sun Apr 29, 2012 5:24 pm

Re: Exclude package in slacker

Post by barmalej2 » Tue Dec 27, 2016 7:18 am

With slacker things are complicated. The only way to exclude is to put package name in /ffp/etc/funpkg/ignore file, but I found it working unreliable.

Post Reply