aboutsummaryrefslogtreecommitdiffstats
path: root/packages/orinoco
AgeCommit message (Expand)Author
2008-10-15mtn2git: remove .mtn2git_empty files in non-empty directoriesJan Luebbe
2008-01-25divers: add debug package for 85 files with hardcoded PACKAGES definition. P...Rolf Leggewie
2008-01-18apmd|hostap|orinoco: move the fix for bug 3664 into a separate packageRolf Leggewie
2008-01-17orinoco-modules: unifyRolf Leggewie
2007-10-25orinoco-conf: call update-modules to populate information from /etc/modutilsMarcin Juszkiewicz
2007-07-01packages/orinoco/spectrum-fw.bb: Building depends on unzip, make sure it is b...Holger Freyther
2006-12-31remove extra whitespace at end-of-line in about 900 bb files.Rolf Leggewie
2006-10-10Remove MAINTAINER fields from recipes, add MAINTAINER file to replace them.Koen Kooi
2006-06-10spectrum-fw: fix broken fix. close #1075Michael Lauer
2006-06-05spectrum-fw: fetch in do_fetch (sic!)Michael Lauer
2006-05-01orinoco-conf: set PACKAGE_ARCH='all'Marcin Juszkiewicz
2006-05-01orinoco-conf: Prism cards moved to hostap-conf, added me as 2nd maintainerMarcin Juszkiewicz
2006-01-08Set some packages/classes PACKAGE_ARCH correctly and also correct some PACKAG...Richard Purdie
2006-01-02gnu-config, orinoco-modules: fix cvs SRC_URI per http://savannah.gnu.org/foru...Michael Lauer
2005-12-13gcc_csl-arm, gnu-config, orinoco-modules, quilt: cvs.sv.(non)gnu.org movePhilipp Zabel
2005-10-14orinoco: Updates to versions 0.15rc1, 0.15rc2, cvs:Richard Purdie
2005-10-14orinoco: Create separate conf package for use by pcmcia-cs with internal kern...Richard Purdie
2005-09-28fixed orinoco-modules 0.13e build after last changeMarcin Juszkiewicz
2005-09-28orinoco-modules: added one card into spectrum.confMarcin Juszkiewicz
2005-09-28orinoco-modules: moved spectrum.conf and spectrum_fw.h (firmware) into files/Marcin Juszkiewicz
2005-09-18spectrum-fw: Fix a path bug in the .bb. Thanks to lardman for pointing it out.Richard Purdie
2005-09-17Add firmware generation package for spectrum wireless LAN cards.Richard Purdie
2005-09-17Add firmware generation package for spectrum wireless LAN cards.Richard Purdie
2005-08-03orinoco: Fix this to work with the latest kernels. Further device IDs may nee...Richard Purdie
2005-06-30import clean BK tree at cset 1.3670Koen Kooi
2005-06-20Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-05-24Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-05-23Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-05-14Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembeddedRod Whitby
2005-05-09Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-03-29Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-03-23Merge nslu2-linux@nslu2-linux.bkbits.net:openembeddedg2@giantshoulder.com
2005-03-06increase DEFAULT_PREFERENCE for orinoco-modules 0.13e on armPhil Blundell
2005-02-23Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-02-22Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2005-01-26Merge bk://oe-devel@oe-devel.bkbits.net/openembeddedMichael Lauer
2005-01-14Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembeddedRod Whitby
2005-01-01Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2004-12-27Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net
2004-12-12Merge bk://oe-devel@oe-devel.bkbits.net/openembeddedPhil Blundell
2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson
ion value='paule/npm-fixes3'>paule/npm-fixes3 OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/scripts/gen-lockedsig-cache
blob: 9c16506cd67de6862a221779662931d9f7ea2c06 (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
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
#!/usr/bin/env python

import os
import sys
import glob
import shutil
import errno

def mkdir(d):
    try:
        os.makedirs(d)
    except OSError as e:
        if e.errno != errno.EEXIST:
            raise e

if len(sys.argv) < 3:
    print("Incorrect number of arguments specified")
    print("syntax: gen-lockedsig-cache <locked-sigs.inc> <input-cachedir> <output-cachedir>")
    sys.exit(1)

print('Reading %s' % sys.argv[1])
sigs = []
with open(sys.argv[1]) as f:
    for l in f.readlines():
        if ":" in l:
            sigs.append(l.split(":")[2].split()[0])

print('Gathering file list')
files = set()
for s in sigs:
    p = sys.argv[2] + "/" + s[:2] + "/*" + s + "*"
    files |= set(glob.glob(p))
    p = sys.argv[2] + "/*/" + s[:2] + "/*" + s + "*"
    files |= set(glob.glob(p))

print('Processing files')
for f in files:
    sys.stdout.write('Processing %s... ' % f)
    _, ext = os.path.splitext(f)
    if not ext in ['.tgz', '.siginfo', '.sig']:
        # Most likely a temp file, skip it
        print('skipping')
        continue
    dst = f.replace(sys.argv[2], sys.argv[3])
    destdir = os.path.dirname(dst)
    mkdir(destdir)

    if os.path.exists(dst):
        os.remove(dst)
    if (os.stat(f).st_dev == os.stat(destdir).st_dev):
        print('linking')
        os.link(f, dst)
    else:
        print('copying')
        shutil.copyfile(f, dst)

print('Done!')