diff options
author | Will Woods <wwoods@redhat.com> | 2009-02-09 17:25:24 -0500 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2009-02-09 17:25:24 -0500 |
commit | 5488583d9ef820b88ff57949452afb6b4c780781 (patch) | |
tree | d644c32b5b0ecd6b3d95c89fdd5906fa7decd7af | |
parent | de4332cdc2763511146ac6dcb61d28245cf03cf1 (diff) | |
download | debuginfofs-5488583d9ef820b88ff57949452afb6b4c780781.tar.gz debuginfofs-5488583d9ef820b88ff57949452afb6b4c780781.tar.xz debuginfofs-5488583d9ef820b88ff57949452afb6b4c780781.zip |
Add GPLv2+ boilerplate
-rw-r--r-- | config.sh | 16 | ||||
-rwxr-xr-x | make-links.sh | 16 | ||||
-rw-r--r--[-rwxr-xr-x] | repofs.py | 28 | ||||
-rwxr-xr-x | rsync-fedora-debuginfo.sh | 17 | ||||
-rwxr-xr-x | unpack-debuginfo.sh | 16 |
5 files changed, 81 insertions, 12 deletions
@@ -1,9 +1,21 @@ #!/bin/bash # config.sh - set some config data for debuginfofs scripts +# Copyright 2009 Red Hat, Inc. # -# GPLv2+. BOILERPLATE SHOULD GO HERE. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# Copyright 2009 Red Hat, Inc. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# # Author: Will Woods <wwoods@redhat.com> debug="yes" diff --git a/make-links.sh b/make-links.sh index f9510e5..00b6835 100755 --- a/make-links.sh +++ b/make-links.sh @@ -1,9 +1,21 @@ #!/bin/bash # make-links.sh - script to populate the global .build-id dir with hardlinks. +# Copyright 2009 Red Hat, Inc. # -# GPLv2+. BOILERPLATE SHOULD GO HERE. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# Copyright 2009 Red Hat, Inc. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# # Author: Will Woods <wwoods@redhat.com> source config.sh diff --git a/repofs.py b/repofs.py index 161260e..6a0259b 100755..100644 --- a/repofs.py +++ b/repofs.py @@ -1,8 +1,21 @@ #!/usr/bin/python # repofs.py - Export the contents of a package repo as a readonly filesystem. -# -# Copyright 2009 Red Hat, Inc. GPLv2+ BOILERPLATE GOES HERE. +# Copyright 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# # Author: Will Woods <wwoods@redhat.com> # # Exports the contents of the repo(s) in a filesystem that looks like this: @@ -300,10 +313,13 @@ class Repofs(FuseRO): # FIXME modify s using info from local_s return local_s - # TODO: fgetattr flush fsdestroy fsync fsyncdir - # getxattr listxattr lock read utime utimens - # NOTE open, opendir, release, releasedir: unused/unneeded. - # NOTE bmap, readlink: not implemented (doesn't make sense) + class RepofsFile(object): + def __init__(self, path, flags, *mode): + + # TODO: fgetattr flush fsdestroy fsync fsyncdir + # getxattr listxattr lock read utime utimens + # NOTE open, opendir, release, releasedir: unused/unneeded. + # NOTE bmap, readlink: not implemented (doesn't make sense) # def access(self, path, mode): # self.log("access('%s',%s)" % (path, oct(mode))) diff --git a/rsync-fedora-debuginfo.sh b/rsync-fedora-debuginfo.sh index 45bc2b2..18f2a73 100755 --- a/rsync-fedora-debuginfo.sh +++ b/rsync-fedora-debuginfo.sh @@ -1,5 +1,22 @@ #!/bin/bash # Given arch and version, fetch all debuginfo packages +# Copyright 2009 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Author: Will Woods <wwoods@redhat.com> source config.sh diff --git a/unpack-debuginfo.sh b/unpack-debuginfo.sh index 7152133..dd5d0f8 100755 --- a/unpack-debuginfo.sh +++ b/unpack-debuginfo.sh @@ -1,10 +1,22 @@ #!/bin/bash # unpack-debuginfo.sh - a simple script to unpack an RPM in a manner # usable by debuginfofs. +# Copyright 2009 Red Hat, Inc. # -# GPLv2+. BOILERPLATE SHOULD GO HERE. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # -# Copyright 2009 Red Hat, Inc. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# # Author: Will Woods <wwoods@redhat.com> source config.sh |