Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • be3d67e4ff4ea053487d35763c802f57a7bfa3a5
  • master default protected
2 results

make_pkg

Blame
  • make_pkg 897 B
    #!/bin/bash
    
    VER_PKG=$1
    VER_KER=$2
    
    echo $VER_PKG
    echo $VER_KER
    
    rm -rf openafs-modules-meta
    mkdir -p openafs-modules-meta/DEBIAN
    
    cat > openafs-modules-meta/DEBIAN/control <<EOF
    Package: openafs-modules-meta
    Source: openafs-modules (1.8.6-5)
    Version: 1.8.6-5+${VER_PKG}
    Architecture: amd64
    Maintainer: Russ Allbery <rra@debian.org>
    Installed-Size: 31807
    Recommends: linux-image-${VER_KER}
    Breaks: openafs-client (<< 1.5.61)
    Provides: openafs-modules3
    Section: kernel
    Priority: optional
    Description: AFS distributed filesystem kernel module
     AFS is a distributed filesystem allowing cross-platform sharing of
     files among multiple computers.  Facilities are provided for access
      control, authentication, backup and administrative management.
       .
     This package provides the compiled AFS kernel module for kernel
     version ${VER_KER}.
    EOF
    
    dpkg-deb -b openafs-modules-meta openafs-modules-meta.deb