Changeset 316


Ignore:
Timestamp:
May 22, 2007, 11:31:24 AM (15 years ago)
Author:
andersk
Message:
Build openafs against latest (not running) kernel.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/Makefile

    r299 r316  
    4141
    4242rpm_args        = -E '%define _smp_mflags -j4' -E '%define _topdir $(topdir)' -E '%define _rpmdir $(out_rpms)' -E '%define _srcrpmdir $(out_srpms)'
    43 #-E '%define kernvers %(rpm -q --whatprovides kernel | sort | tail -1)'
     43openafs_rpm_args = -E "%define kernvers $(shell rpm -q --qf "%{Version}-%{Release}\n" --whatprovides kernel | sort -n | tail -n1)"
    4444
    4545.PHONY: minimal-clean
     
    122122openafs-kernel: setup
    123123        PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \
    124         rpmbuild $(rpm_args) -bb --define "build_userspace 0" --define "build_modules 1" ${tmp_specs}/openafs*.spec
     124        rpmbuild $(rpm_args) $(openafs_rpm_args) -bb --define "build_userspace 0" --define "build_modules 1" ${tmp_specs}/openafs*.spec
    125125
    126126suexec: install-srpms
Note: See TracChangeset for help on using the changeset viewer.