3 @@ -210,8 +210,8 @@ endif(BUILD_PAM)
4 set(BLOCKDEV_DEFAULT ON)
6 # LVM snapshot mount feature
7 -find_program(LVCREATE_EXECUTABLE lvcreate PATHS /sbin /usr/sbin /usr/local/sbin)
8 -find_program(LVREMOVE_EXECUTABLE lvremove PATHS /sbin /usr/sbin /usr/local/sbin)
9 +#find_program(LVCREATE_EXECUTABLE lvcreate PATHS /sbin /usr/sbin /usr/local/sbin)
10 +#find_program(LVREMOVE_EXECUTABLE lvremove PATHS /sbin /usr/sbin /usr/local/sbin)
11 set(LVMSNAP_DEFAULT OFF)
12 if (LVCREATE_EXECUTABLE AND LVREMOVE_EXECUTABLE)
13 set (LVMSNAP_DEFAULT ON)
14 @@ -224,7 +224,7 @@ if (lvm-snapshot)
17 # ZFS snapshot mount feature
18 -find_program(ZFS_EXECUTABLE zfs PATHS /sbin /usr/sbin /usr/local/sbin)
19 +#find_program(ZFS_EXECUTABLE zfs PATHS /sbin /usr/sbin /usr/local/sbin)
20 set(ZFSSNAP_DEFAULT OFF)
22 set (ZFSSNAP_DEFAULT ON)
23 @@ -237,7 +237,7 @@ if (zfs-snapshot)
26 # Btrfs snapshot mount feature
27 -find_program(BTRFS_EXECUTABLE btrfs PATHS /sbin /usr/sbin /usr/local/sbin)
28 +#find_program(BTRFS_EXECUTABLE btrfs PATHS /sbin /usr/sbin /usr/local/sbin)
29 set(BTRFSSNAP_DEFAULT OFF)
31 set (BTRFSSNAP_DEFAULT ON)
32 @@ -310,15 +310,9 @@ include_directories(${PROJECT_BINARY_DIR
34 ${PROJECT_SOURCE_DIR})
38 add_subdirectory(sbuild)
40 -add_subdirectory(test)
41 -add_subdirectory(doc)
44 -add_subdirectory(man)
46 add_custom_target(check-news
47 COMMAND if grep -q "Welcome to ${CMAKE_PROJECT_NAME} ${GIT_RELEASE_VERSION}" "${PROJECT_SOURCE_DIR}/NEWS" \; then echo "NEWS current version ${GIT_RELEASE_VERSION}" \; else echo "NEWS current version does not match release version ${GIT_RELEASE_VERSION}" \; exit 1 \; fi
48 --- a/bin/schroot-base/schroot-base-run.h
49 +++ b/bin/schroot-base/schroot-base-run.h
50 @@ -61,8 +61,8 @@ namespace schroot_base
51 std::cout.imbue(std::locale());
52 std::cerr.imbue(std::locale());
54 - bindtextdomain (SBUILD_MESSAGE_CATALOGUE, SCHROOT_LOCALE_DIR);
55 - textdomain (SBUILD_MESSAGE_CATALOGUE);
56 + //bindtextdomain (SBUILD_MESSAGE_CATALOGUE, SCHROOT_LOCALE_DIR);
57 + //textdomain (SBUILD_MESSAGE_CATALOGUE);
59 typename options_type::ptr opts(new options_type);
61 --- a/sbuild/sbuild-feature.h
62 +++ b/sbuild/sbuild-feature.h
66 #include <boost/format.hpp>
71 --- a/etc/setup.d/20copyfiles
72 +++ b/etc/setup.d/20copyfiles
73 @@ -39,9 +39,9 @@ copy_file()
77 - da=$(/usr/bin/stat --format="%d %i" "$1")
78 + da=$(/bin/stat --format="%d %i" "$1")
79 # This one can fail since it might not exist yet
80 - db=$(/usr/bin/stat --format="%d %i" "$2" 2>/dev/null || :)
81 + db=$(/bin/stat --format="%d %i" "$2" 2>/dev/null || :)
83 if [ "$da" = "$db" ]; then
85 --- a/etc/setup.d/20nssdatabases
86 +++ b/etc/setup.d/20nssdatabases
87 @@ -29,7 +29,7 @@ set -e
90 info "Copying $1 database to $2"
92 + cat "/etc/$1" > "$2"
95 if [ $STAGE = "setup-start" ] || [ $STAGE = "setup-recover" ]; then
96 @@ -42,9 +42,9 @@ if [ $STAGE = "setup-start" ] || [ $STAG
100 - dr=$(/usr/bin/stat --format="%d %i" "/etc/$db")
101 + dr=$(/bin/stat --format="%d %i" "/etc/$db")
102 # This one can fail since it might not exist yet
103 - dc=$(/usr/bin/stat --format="%d %i" "${CHROOT_PATH}/etc/$db" 2>/dev/null || :)
104 + dc=$(/bin/stat --format="%d %i" "${CHROOT_PATH}/etc/$db" 2>/dev/null || :)
106 # If the database inside and outside the chroot is the
107 # same, it's very likely that dup_nss would blank the
108 --- a/etc/profile-templates/all/all/nssdatabases
109 +++ b/etc/profile-templates/all/all/nssdatabases
118 --- a/etc/profile-templates/buildd/all/nssdatabases
119 +++ b/etc/profile-templates/buildd/all/nssdatabases
128 --- a/etc/profile-templates/default/all/nssdatabases
129 +++ b/etc/profile-templates/default/all/nssdatabases
136 --- a/etc/profile-templates/desktop/all/nssdatabases
137 +++ b/etc/profile-templates/desktop/all/nssdatabases
144 --- a/etc/profile-templates/default/linux/fstab
145 +++ b/etc/profile-templates/default/linux/fstab
147 # to run additional services in the chroot. However, note that this
148 # may potentially cause undesirable behaviour on upgrades, such as
149 # killing services on the host.
150 -#/run /run none rw,bind 0 0
151 +/run /run none rw,bind 0 0
152 #/run/lock /run/lock none rw,bind 0 0
153 -#/dev/shm /dev/shm none rw,bind 0 0
154 -#/run/shm /run/shm none rw,bind 0 0
155 +/tmp/shm /dev/shm none rw,bind 0 0
156 +/tmp/shm /run/shm none rw,bind 0 0
157 --- a/etc/profile-templates/desktop/linux/fstab
158 +++ b/etc/profile-templates/desktop/linux/fstab
160 # to run additional services in the chroot. However, note that this
161 # may potentially cause undesirable behaviour on upgrades, such as
162 # killing services on the host.
163 -#/run /run none rw,bind 0 0
164 +/run /run none rw,bind 0 0
165 #/run/lock /run/lock none rw,bind 0 0
166 -#/dev/shm /dev/shm none rw,bind 0 0
167 -#/run/shm /run/shm none rw,bind 0 0
168 +/tmp/shm /dev/shm none rw,bind 0 0
169 +/tmp/shm /run/shm none rw,bind 0 0