summaryrefslogtreecommitdiffstats
path: root/macbook
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2014-05-15 22:15:46 -0500
committerKyle K <kylek389@gmail.com>2014-05-15 22:15:46 -0500
commit4f57d53392e6d42b063353ba41de2f588f4a19fc (patch)
tree9eb121b76ca76e17c58b093f88c281e736878cb4 /macbook
parentd43e6cbdaa238de8efb1a8fe5be97156c8970a89 (diff)
downloadconfigs-4f57d53392e6d42b063353ba41de2f588f4a19fc.tar.gz
configs-4f57d53392e6d42b063353ba41de2f588f4a19fc.tar.bz2
configs-4f57d53392e6d42b063353ba41de2f588f4a19fc.zip
archlinux on macbook
Diffstat (limited to 'macbook')
-rw-r--r--macbook/fstab16
-rw-r--r--macbook/local.service10
-rwxr-xr-xmacbook/local.sh8
-rw-r--r--macbook/macosx.txt2
4 files changed, 36 insertions, 0 deletions
diff --git a/macbook/fstab b/macbook/fstab
new file mode 100644
index 0000000..405dad8
--- /dev/null
+++ b/macbook/fstab
@@ -0,0 +1,16 @@
+#
+# /etc/fstab: static file system information
+#
+# <file system> <dir> <type> <options> <dump> <pass>
+
+# /dev/sda7 LABEL=ARCH_ROOT
+UUID=eb7595ab-5c89-4cb4-af73-5a964e0bd1c8 / ext4 rw,relatime,data=ordered 0 1
+
+# /dev/sda5 LABEL=untitled
+UUID=5982b440-1466-3504-b5a3-6e85cc3e47e5 /boot/efi hfsplus rw,relatime,umask=22,uid=0,gid=0,nls=utf8 0 0
+
+# mac, uid and gid do not work, use bindfs
+UUID=f3defdd6-65f4-3494-8bdb-b40acca3c1e9 /mnt/mac hfsplus rw,relatime,umask=22,uid=0,gid=0,nls=utf8 0 0
+
+# windows
+UUID=420C10DF0C10CFB1 /mnt/win ntfs-3g defaults,rw,uid=1000,gid=100 0 0
diff --git a/macbook/local.service b/macbook/local.service
new file mode 100644
index 0000000..ddf2555
--- /dev/null
+++ b/macbook/local.service
@@ -0,0 +1,10 @@
+# place to /etc/systemd/system/local.service
+
+[Unit]
+Description=Run local commands after boot
+
+[Service]
+ExecStart=/usr/bin/local.sh
+
+[Install]
+WantedBy=multi-user.target
diff --git a/macbook/local.sh b/macbook/local.sh
new file mode 100755
index 0000000..f31f8b7
--- /dev/null
+++ b/macbook/local.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+#
+# palce into /usr/bin/local.sh
+#
+/usr/bin/bindfs --map=502/1000:@20/@100,@70/@33 /mnt/mac /mnt/mac-bind
+
+exit 0
+
diff --git a/macbook/macosx.txt b/macbook/macosx.txt
new file mode 100644
index 0000000..618cd3f
--- /dev/null
+++ b/macbook/macosx.txt
@@ -0,0 +1,2 @@
+- let the env know about 'port' packages, here we care about include dir
+CFLAGS=-I/opt/local/include ./configure \ No newline at end of file