cdfs-2.6.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The program cdfs is a very useful kernel module.  Unfortunately, the Makefile in 
cdfs-2.6.3 is defective and 'make install' wipes out the kernel build tree.  
This breaks the operating system, because it means that modules for your 
ethernet, your monitor, etc. are missing.

The problem in the Makefile (see below) is that under install:, the Makefile 
uses $(pwd) -- a blank string -- when it should use $(PWD) -- the source 
directory.  Changing $(pwd) to $(PWD) seems to make everything work right.

Fortunately for me, yum had a cached version of the kernel in the directory 
/var/cache/yum/updates-released/packages/, which I used to restore the build 
tree (using rpm -i --force).  I am in contact with the authors, who are fixing 
this as we speak, but I thought it might be a good idea to alert everyone in the 
meantime.

-- Phil

Defective Makefile:

ifneq ($(KERNELRELEASE),)
obj-m := cdfs.o
cdfs-objs := root.o audio.o cdXA.o cddata.o hfs.o iso.o proc.o root.o utils.o da
emon.o discid.o toc.o

else
KDIR        := /lib/modules/$(shell uname -r)/build
PWD         := $(shell pwd)

all:
        $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

install:
        $(MAKE) -C $(KDIR) SUBDIRS=$(pwd) modules_install
endif


clean:
        -rm *.o *.ko .*.cmd *.mod.c *~



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux