diff --git a/OARiNZ/DIY/LiveCD/Makefile b/OARiNZ/DIY/LiveCD/Makefile index da982aa..881bfcf 100755 --- a/OARiNZ/DIY/LiveCD/Makefile +++ b/OARiNZ/DIY/LiveCD/Makefile @@ -86,13 +86,13 @@ @$(ECHO) @$(ECHO) "=== Initialising." @$(SUDO) $(MOUNT) -o loop $< $(NEW_SQUASH) + $(SUDO) $(MOUNT) -t proc --bind /proc $(NEW_SQUASH)/proc $(SUDO) $(CP) -p /etc/resolv.conf $(NEW_SQUASH)/etc @# Reconfigure the panel icons by means of pre-built gconf defaults. @# I did it this way because I couldn't figure out how to do it on @# the fly with gconftool (if that's even possible). $(SUDO) $(CP) -p gconf-tree.xml \ $(NEW_SQUASH)/etc/gconf/gconf.xml.defaults/%gconf-tree.xml - $(SUDO) $(MOUNT) -t proc --bind /proc $(NEW_SQUASH)/proc @# Copy in cached .deb files to save on downloads and set up apt @# sources, etc. An appropriate sources.list can be generated @@ -139,14 +139,14 @@ @# Update manifest and disk name. @$(ECHO) @$(ECHO) "=== Updating manifest and disk name." - $(SED) -ie 's/DISKNAME .*/DISKNAME Instant EPrints 3.0 - i386/' \ + $(SED) -i -e 's/DISKNAME .*/DISKNAME Instant EPrints 3.0 - i386/' \ $(LIVECD)/README.diskdefines $(SUDO) chroot $(NEW_SQUASH) \ dpkg-query -W --showformat='$(Package) $(Version)\n' \ > $(LIVECD)/casper/filesystem.manifest $(SUDO) $(CP) $(LIVECD)/casper/filesystem.manifest \ $(LIVECD)/casper/filesystem.manifest-desktop - $(SED) -ie '/ubiquity/d' $(LIVECD)/casper/filesystem.manifest-desktop + $(SED) -i -e '/ubiquity/d' $(LIVECD)/casper/filesystem.manifest-desktop @# Clear free space on the squashfs source filesystem. @$(ECHO)