On Thu, May 19, 2016 at 01:13:12PM +0800, Anand Jain wrote: > /usr/bin/install -c -m644 -d 64-btrfs-dm.rules /usr/lib/udev/rules.d > /usr/bin/install: cannot create directory ‘64-btrfs-dm.rules’: File exists > Makefile:400: recipe for target 'install' failed > make: *** [install] Error 1 > > fixes: btrfs-progs: udev: add rules for dm devices
> ifneq ($(udevdir),) > - $(INSTALL) -m644 -d $(udev_rules) $(DESTDIR)$(udevruledir) > + $(INSTALL) -m644 $(udev_rules) $(DESTDIR)$(udevruledir) > endif We have to conditionally create the directory, so extra -d on the udevrule or -D is needed. Looking at the patch we have in openSUSE, it does the former. I'll update the patch. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html