CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added pass/login support and required files
authorJose V Beneyto <sepen@crux.nu>
Tue, 23 Oct 2012 13:09:28 +0000 (13:09 +0000)
committerJose V Beneyto <sepen@crux.nu>
Tue, 23 Oct 2012 13:09:28 +0000 (13:09 +0000)
Makefile
filesystem/group [new file with mode: 0644]
filesystem/passwd [new file with mode: 0644]
filesystem/shadow [new file with mode: 0644]

index 5dbc711c1f49c9f895d646b55d24f3771e6eb060..54c8259cb29632c927ea934e6c132f4be47829b7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,8 +102,11 @@ $(WORK)/initrd.gz: check-root busybox dialog $(WORK)/mnt $(TOPDIR)/filesystem $(
        install -d  $(WORK)/mnt/usr/share/terminfo
        cp -dRv $(CLFS)/usr/share/terminfo/v $(WORK)/mnt/usr/share/terminfo
        install -v -m 0644 $(TOPDIR)/filesystem/{fstab,inittab,profile,protocols,*.conf} $(WORK)/mnt/etc
+       install -v -m 0664 $(TOPDIR)/filesystem/group $(WORK)/mnt/etc
+       install -v -m 0600 $(TOPDIR)/filesystem/passwd $(WORK)/mnt/etc
+       install -v -m 0400 $(TOPDIR)/filesystem/shadow $(WORK)/mnt/etc
        install -v -m 0755 $(TOPDIR)/filesystem/rc $(WORK)/mnt/etc && \
-       install -v -m 0755 $(TOPDIR)/filesystem/{setup*,crux} $(WORK)/mnt/usr/bin && \
+       install -v -m 0755 $(TOPDIR)/filesystem/{setup,setup-chroot,crux} $(WORK)/mnt/usr/bin && \
        /sbin/ldconfig -r $(WORK)/mnt
        umount -v $(WORK)/mnt
        cd $(WORK) && gzip -v initrd
diff --git a/filesystem/group b/filesystem/group
new file mode 100644 (file)
index 0000000..18acc30
--- /dev/null
@@ -0,0 +1 @@
+root:x:0:root
diff --git a/filesystem/passwd b/filesystem/passwd
new file mode 100644 (file)
index 0000000..eb85a55
--- /dev/null
@@ -0,0 +1 @@
+root:x:0:0:root:/root:/bin/sh
diff --git a/filesystem/shadow b/filesystem/shadow
new file mode 100644 (file)
index 0000000..6034cdc
--- /dev/null
@@ -0,0 +1 @@
+root:x:0::::::