From 4f57d53392e6d42b063353ba41de2f588f4a19fc Mon Sep 17 00:00:00 2001 From: Kyle K Date: Thu, 15 May 2014 22:15:46 -0500 Subject: archlinux on macbook --- macbook/fstab | 16 ++++++++++++++++ macbook/local.service | 10 ++++++++++ macbook/local.sh | 8 ++++++++ macbook/macosx.txt | 2 ++ 4 files changed, 36 insertions(+) create mode 100644 macbook/fstab create mode 100644 macbook/local.service create mode 100755 macbook/local.sh create mode 100644 macbook/macosx.txt (limited to 'macbook') 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 +# +# + +# /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 -- cgit v1.2.3